Thread (19 messages) 19 messages, 4 authors, 2016-11-22

Re: [PATCH 1/2] phy: qcom-qusb2: New driver for QUSB2 PHY on Qcom chips

From: Vivek Gautam <hidden>
Date: 2016-10-20 04:13:45
Also in: linux-arm-msm, lkml

On Wed, Oct 19, 2016 at 4:13 PM, Vivek Gautam
[off-list ref] wrote:
PHY transceiver driver for QUSB2 phy controller that provides
HighSpeed functionality for DWC3 controller present on
Qualcomm chipsets.

This driver is based on phy-msm-qusb driver available in
msm-4.4 kernel @codeaurora[1]

[1] https://source.codeaurora.org/quic/la/kernel/msm-4.4/log/?h=caf/3.18/msm-3.18

Signed-off-by: Vivek Gautam <redacted>
Cc: Kishon Vijay Abraham I <redacted>
---
[snip]
+       qphy->ref_clk_src = devm_clk_get(dev, "ref_clk_src");
+       if (IS_ERR(qphy->ref_clk_src)) {
+               qphy->ref_clk_src = NULL;
+               ret = PTR_ERR(qphy->ref_clk_src);
Pointed out by Kbuild test: ERROR: PTR_ERR applied after
initialization to constant on line

Will correct this in the next patch version.

Same for ref_clk and iface_clk.
+               if (ret != -EPROBE_DEFER)
+                       dev_dbg(dev, "clk get failed for ref_clk_src\n");
+       }
+
+       qphy->ref_clk = devm_clk_get(dev, "ref_clk");
+       if (IS_ERR(qphy->ref_clk)) {
+               qphy->ref_clk = NULL;
+               ret = PTR_ERR(qphy->ref_clk);
[snip]


Thanks
Vivek


-- 
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
a Linux Foundation Collaborative Project
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help