mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-15 08:36:43 +07:00
usb: ehci-omap: don't complain on -EPROBE_DEFER when no PHY found
Don't complain on -EPROBE_DEFER when no PHY found, the driver probe will be retried later. Signed-off-by: Ladislav Michl <ladis@linux-mips.org> Acked-by: Tony Lindgren <tony@atomide.com> Acked-by: Roger Quadros <rogerq@ti.com> Acked-by: Alan Stern <stern@rowland.harvard.edu> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
ef824501f5
commit
5008ae5156
@ -167,7 +167,8 @@ static int ehci_hcd_omap_probe(struct platform_device *pdev)
|
||||
continue;
|
||||
|
||||
ret = PTR_ERR(phy);
|
||||
dev_err(dev, "Can't get PHY device for port %d: %d\n",
|
||||
if (ret != -EPROBE_DEFER)
|
||||
dev_err(dev, "Can't get PHY for port %d: %d\n",
|
||||
i, ret);
|
||||
goto err_phy;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user