diff options
author | Bryan O'Donoghue <bryan.odonoghue@linaro.org> | 2020-08-29 06:38:38 +0300 |
---|---|---|
committer | Kalle Valo <kvalo@codeaurora.org> | 2020-09-02 11:48:18 +0300 |
commit | 8490987bdb9a74904c2b0b0e0310809376d7a034 (patch) | |
tree | 38ff6c17d7d20ec5c02c2c887ba5f55652277f2b | |
parent | 034f0befc1ff4115bf59d31a2ac5156f031991fa (diff) | |
download | linux-8490987bdb9a74904c2b0b0e0310809376d7a034.tar.xz |
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 <bryan.odonoghue@linaro.org>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/20200829033846.2167619-3-bryan.odonoghue@linaro.org
-rw-r--r-- | drivers/net/wireless/ath/wcn36xx/main.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/wcn36xx/main.c b/drivers/net/wireless/ath/wcn36xx/main.c index 8becd667fe7b..c5e94ba8f941 100644 --- a/drivers/net/wireless/ath/wcn36xx/main.c +++ b/drivers/net/wireless/ath/wcn36xx/main.c @@ -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); } |