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: qcom_qmp_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>
 
        ret = qcom_qmp_phy_vreg_init(dev);
        if (ret) {
-               dev_err(dev, "failed to get regulator supplies\n");
+               if (ret != -EPROBE_DEFER)
+                       dev_err(dev, "failed to get regulator supplies: %d\n",
+                               ret);
                return ret;
        }