mirror of
https://github.com/torvalds/linux.git
synced 2026-12-05 04:44:03 +00:00
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 commit9c9d82492b(usb: phy: Fix deferred probing), where the USB controller driver is left infinitely into deferred probe when there are no phys. Fixes:9c9d82492b(usb: phy: Fix deferred probing) Signed-off-by: Heikki Krogerus <[email protected]> Signed-off-by: Felipe Balbi <[email protected]>