summaryrefslogtreecommitdiff
path: root/drivers/phy/phy-lpc18xx-usb-otg.c
diff options
context:
space:
mode:
authorBjorn Andersson <bjorn.andersson@linaro.org>2017-01-22 13:17:47 -0800
committerKishon Vijay Abraham I <kishon@ti.com>2017-01-27 13:06:52 +0530
commit3471426f6ddb341debb0fc500ea9b4bb5f3f74ec (patch)
tree3fd7955e1a774262a4c24b5b8b0f30f18c50576e /drivers/phy/phy-lpc18xx-usb-otg.c
parente7d5e412160c2143de1f818668774b33b3cdab0b (diff)
phy: qcom-ufs: Correct usage of regulator_get()
When regulator_get() tries to resolve a regulator supply but fail to find a matching property in DeviceTree it returns a dummy regulator, if a matching supply is specified but unavailable the regulator core will return an error. Based on this we should not ignore errors upon failing to acquire the optional "vddp-ref-clk" supply. Reviewed-by: Vivek Gautam <vivek.gautam@codeaurora.org> Reviewed-by: Subhash Jadavani <subhashj@codeaurora.org> Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org> Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
Diffstat (limited to 'drivers/phy/phy-lpc18xx-usb-otg.c')
0 files changed, 0 insertions, 0 deletions