phy: qcom-qusb2: Quiet -EPROBE_DEFER from qusb2_phy_probe()
authorDouglas Anderson <dianders@chromium.org>
Mon, 14 May 2018 22:42:22 +0000 (15:42 -0700)
committerKishon Vijay Abraham I <kishon@ti.com>
Mon, 10 Sep 2018 08:56:37 +0000 (14:26 +0530)
commit6100ac72dc0ba002a6ff602e8a043a9800f2ee0b
treefc9e4c95ae56a21dac9a1c3aba9f5da1d84573b4
parent22fa10e52ab30cf33c200d9f73be22600427b739
phy: qcom-qusb2: Quiet -EPROBE_DEFER from qusb2_phy_probe()

The -EPROBE_DEFER virus demands special case code to avoid printing
error messages when the error is only -EPROBE_DEFER.  Spread the virus
to a new host: qusb2_phy_probe().  Specifically handle when our
regulators might not be ready yet.

Signed-off-by: Douglas Anderson <dianders@chromium.org>
Reviewed-by: Vivek Gautam <vivek.gautam@codeaurora.org>
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
drivers/phy/qualcomm/phy-qcom-qusb2.c