]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
usb: phy: msm: Make phy_reset clk and reset line optional.
authorSrinivas Kandagatla <srinivas.kandagatla@linaro.org>
Thu, 21 Aug 2014 06:45:10 +0000 (07:45 +0100)
committerFelipe Balbi <balbi@ti.com>
Wed, 27 Aug 2014 19:13:17 +0000 (14:13 -0500)
commita1a4caf41ed8154c4e7b75b4e12c1a7d851e2137
treeb01a1bd9145d8db5f37ea7795e389697c4943fd5
parentd0ee68b59e6aa33221445dc555efac3736b89026
usb: phy: msm: Make phy_reset clk and reset line optional.

This patch makes the phy reset clk and reset line optional as this clk
is not available on boards like IFC6410 with APQ8064.

phy-reset clk is only used as argument to the mach level callbacks, so
this patch adds condition before clk_get calls so that the driver
wouldn't fail on SOCs which do not have this support.

Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/phy/phy-msm-usb.c