[RFCv1 8/8] phy: amlogic: meson8b-usb2: don't log an error on -EPROBE_DEFER

Martin Blumenstingl martin.blumenstingl at googlemail.com
Thu Jun 17 15:26:51 PDT 2021


On Thu, Jun 17, 2021 at 9:44 PM Anand Moon <linux.amoon at gmail.com> wrote:
>
> devm_phy_create can return -EPROBE_DEFER if the phy-supply is not ready
> yet. Silence this warning as the driver framework will re-attempt
> registering the PHY. Use dev_err_probe() for phy resources to indicate
> the deferral reason when waiting for the resource to come up.
This is a good improvement - thank you!

> Cc: Martin Blumenstingl <martin.blumenstingl at googlemail.com>
> Signed-off-by: Anand Moon <linux.amoon at gmail.com>
Reviewed-by: Martin Blumenstingl <martin.blumenstingl at googlemail.com>



More information about the linux-amlogic mailing list