summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMayank Rana <mrana@codeaurora.org>2016-08-05 10:44:49 -0700
committerMayank Rana <mrana@codeaurora.org>2016-08-05 10:44:49 -0700
commit67d5a900d453c217dfab10b561fc5dc722e1e14b (patch)
treedb21bc27169d2823c461af2a1fcad358476964da
parent28352998dee80f33641dd7b28479350bd480b823 (diff)
usb: phy: qusb: Fix typo with emulation related property name
Driver is using "qcom,emu-init-seq" for finding length of property but using "qcom,qemu-init-seq" instead of "qcom,emu-init-seq" to get passed values from device tree. With this, length of property comes as expected but values are not received. This results into programming zeros as values with offset as zero instead of expected <value, offset> passed through devicetree. CRs-Fixed: 1051115 Change-Id: I1809fcef844d275175814e636591b87e91432609 Signed-off-by: Mayank Rana <mrana@codeaurora.org>
-rw-r--r--drivers/usb/phy/phy-msm-qusb-v2.c2
-rw-r--r--drivers/usb/phy/phy-msm-qusb.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/drivers/usb/phy/phy-msm-qusb-v2.c b/drivers/usb/phy/phy-msm-qusb-v2.c
index dd8149ef097d..f8121eb4f63a 100644
--- a/drivers/usb/phy/phy-msm-qusb-v2.c
+++ b/drivers/usb/phy/phy-msm-qusb-v2.c
@@ -799,7 +799,7 @@ static int qusb_phy_probe(struct platform_device *pdev)
}
of_property_read_u32_array(dev->of_node,
- "qcom,qemu-init-seq",
+ "qcom,emu-init-seq",
qphy->emu_init_seq,
qphy->emu_init_seq_len);
} else {
diff --git a/drivers/usb/phy/phy-msm-qusb.c b/drivers/usb/phy/phy-msm-qusb.c
index 325f5fcf161b..5ec08098d197 100644
--- a/drivers/usb/phy/phy-msm-qusb.c
+++ b/drivers/usb/phy/phy-msm-qusb.c
@@ -878,7 +878,7 @@ static int qusb_phy_probe(struct platform_device *pdev)
}
of_property_read_u32_array(dev->of_node,
- "qcom,qemu-init-seq",
+ "qcom,emu-init-seq",
qphy->emu_init_seq,
qphy->emu_init_seq_len);
} else {