diff options
author | Heikki Krogerus <heikki.krogerus@linux.intel.com> | 2015-01-16 09:30:15 +0100 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2015-01-19 19:50:27 +0100 |
commit | 0df8fc37f6e4a1c25c56741c3fe82970c02b7786 (patch) | |
tree | a25eec2c39d5b64a47703577252f8cae4e1e641e /block/blk-mq-tag.h | |
parent | usb: dwc2: call dwc2_is_controller_alive() under spinlock (diff) | |
download | linux-0df8fc37f6e4a1c25c56741c3fe82970c02b7786.tar.xz linux-0df8fc37f6e4a1c25c56741c3fe82970c02b7786.zip |
usb: phy: never defer probe in non-OF case
In practice failure to find phy when requested in non-OF
case means it will never become available, so
__usb_find_phy() must return -ENODEV and not -EPROBE_DEFER.
This fixes a regression caused by commit 9c9d82492b73
(usb: phy: Fix deferred probing), where the USB
controller driver is left infinitely into deferred probe
when there are no phys.
Fixes: 9c9d82492b73 (usb: phy: Fix deferred probing)
Signed-off-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'block/blk-mq-tag.h')
0 files changed, 0 insertions, 0 deletions