usb: host: ehci-tegra: request deferred probe when failing to get phy
authorVince Hsu <vinceh@nvidia.com>
Wed, 24 Dec 2014 10:16:30 +0000 (18:16 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 9 Jan 2015 18:01:45 +0000 (10:01 -0800)
commitf56e67f0a880a5b795cdb5f62614aafe264c5304
tree3d8f888ce8e8cda278a393a032851e4fe6677d34
parent36d1ffdb210ec2d0d6a69e9f6466ae8727d34119
usb: host: ehci-tegra: request deferred probe when failing to get phy

The commit 1290a958d48e ("usb: phy: propagate __of_usb_find_phy()'s error on
failure") changed the condition to return -EPROBE_DEFER to host driver.
Originally the Tegra host driver depended on the returned -EPROBE_DEFER to
get the phy device later when booting. Now we have to do that explicitly.

Signed-off-by: Vince Hsu <vinceh@nvidia.com>
Tested-by: Tomeu Vizoso <tomeu.vizoso@collabora.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/host/ehci-tegra.c