diff options
author | Bjorn Andersson <bjorn.andersson@linaro.org> | 2017-01-22 13:17:47 -0800 |
---|---|---|
committer | Kishon Vijay Abraham I <kishon@ti.com> | 2017-01-27 13:06:52 +0530 |
commit | 3471426f6ddb341debb0fc500ea9b4bb5f3f74ec (patch) | |
tree | 3fd7955e1a774262a4c24b5b8b0f30f18c50576e /fs/file.c | |
parent | e7d5e412160c2143de1f818668774b33b3cdab0b (diff) | |
download | linux-3471426f6ddb341debb0fc500ea9b4bb5f3f74ec.tar.bz2 |
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 'fs/file.c')
0 files changed, 0 insertions, 0 deletions