mirror of
https://github.com/torvalds/linux.git
synced 2026-05-28 00:53:34 +02:00
wifi: ath11k: Deprecate qcom,ath11k-calibration-variant properties
Add support for calibration-like properties without 'ath11k' prefix, while still keeping everything backwards compatible. Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com> Link: https://patch.msgid.link/20250225-b-wifi-qcom-calibration-variant-v1-5-3b2aa3f89c53@linaro.org Signed-off-by: Jeff Johnson <jeff.johnson@oss.qualcomm.com>
This commit is contained in:
parent
a97ed4ecb7
commit
1bd9ffec4c
|
|
@ -1175,8 +1175,11 @@ int ath11k_core_check_dt(struct ath11k_base *ab)
|
|||
if (!node)
|
||||
return -ENOENT;
|
||||
|
||||
of_property_read_string(node, "qcom,ath11k-calibration-variant",
|
||||
of_property_read_string(node, "qcom,calibration-variant",
|
||||
&variant);
|
||||
if (!variant)
|
||||
of_property_read_string(node, "qcom,ath11k-calibration-variant",
|
||||
&variant);
|
||||
if (!variant)
|
||||
return -ENODATA;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user