From: Antony Kurniawan Soemardi <[email protected]>

msm8960 uses the same clock descriptor as apq8064 but lacked the
corresponding QDSS resource definition in its resource table. Add
resource ID 209 to msm8960_rpm_resource_table to match apq8064's
implementation.

Without this entry, RPM clock initialization fails on msm8960,
preventing Bluetooth/Wi-Fi/USB from being enabled.

Tested-by: Rudraksha Gupta <[email protected]>
Signed-off-by: Antony Kurniawan Soemardi <[email protected]>
---
 drivers/mfd/qcom_rpm.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/mfd/qcom_rpm.c b/drivers/mfd/qcom_rpm.c
index 27446f43e3f3..0defb3279af1 100644
--- a/drivers/mfd/qcom_rpm.c
+++ b/drivers/mfd/qcom_rpm.c
@@ -324,6 +324,7 @@ static const struct qcom_rpm_resource 
msm8960_rpm_resource_table[] = {
        [QCOM_RPM_USB_OTG_SWITCH] =             { 205, 119, 82, 1 },
        [QCOM_RPM_HDMI_SWITCH] =                { 206, 120, 83, 1 },
        [QCOM_RPM_DDR_DMM] =                    { 207, 121, 84, 2 },
+       [QCOM_RPM_QDSS_CLK] =                   { 209, ~0, 7, 1 },
 };
 
 static const struct qcom_rpm_data msm8960_template = {

-- 
2.34.1



Reply via email to