Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Ladislav Michl and committed by
Greg Kroah-Hartman
5008ae51 ef824501

+2 -1
+2 -1
drivers/usb/host/ehci-omap.c
··· 167 167 continue; 168 168 169 169 ret = PTR_ERR(phy); 170 - dev_err(dev, "Can't get PHY device for port %d: %d\n", 170 + if (ret != -EPROBE_DEFER) 171 + dev_err(dev, "Can't get PHY for port %d: %d\n", 171 172 i, ret); 172 173 goto err_phy; 173 174 }