mirror of
https://github.com/torvalds/linux.git
synced 2026-12-06 13:23:45 +00:00
wcn36xx: Hook and identify RF_IRIS_WCN3680
If DT indicates we are dealing with a WCN3680 mark the rf_id field as RF_IRIS_WCN3680 allowing for further chip-specific logic. Signed-off-by: Bryan O'Donoghue <[email protected]> Signed-off-by: Kalle Valo <[email protected]> Link: https://lore.kernel.org/r/[email protected]
This commit is contained in:
committed by
Kalle Valo
parent
034f0befc1
commit
8490987bdb
@@ -1307,6 +1307,8 @@ static int wcn36xx_platform_get_resources(struct wcn36xx *wcn,
|
||||
if (iris_node) {
|
||||
if (of_device_is_compatible(iris_node, "qcom,wcn3620"))
|
||||
wcn->rf_id = RF_IRIS_WCN3620;
|
||||
if (of_device_is_compatible(iris_node, "qcom,wcn3680"))
|
||||
wcn->rf_id = RF_IRIS_WCN3680;
|
||||
of_node_put(iris_node);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user