linux/drivers/usb/phy
Heikki Krogerus 0df8fc37f6 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 9c9d82492b
(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 <heikki.krogerus@linux.intel.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
2015-01-19 12:50:27 -06:00
..
am35x-phy-control.h usb: phy: Add AM335x PHY driver 2013-08-09 17:34:15 +03:00
Kconfig PM / Kconfig: Replace PM_RUNTIME with PM in dependencies 2014-12-13 00:44:04 +01:00
Makefile usb: phy: samsung: remove old USB 3.0 PHY driver 2014-09-02 09:16:44 -05:00
of.c usb: add devicetree helpers for determining dr_mode and phy_type 2013-06-17 13:47:09 -07:00
phy-ab8500-usb.c Driver core patches for 3.19-rc1 2014-12-14 16:10:09 -08:00
phy-am335x-control.c Driver core patches for 3.19-rc1 2014-12-14 16:10:09 -08:00
phy-am335x.c usb: phy: drop owner assignment from platform_drivers 2014-10-20 16:21:50 +02:00
phy-fsl-usb.c usb: phy: fsl: Fix build errors 2014-11-12 08:37:37 -06:00
phy-fsl-usb.h usb: phy: fsl: Fix build errors 2014-11-12 08:37:37 -06:00
phy-generic.c Driver core patches for 3.19-rc1 2014-12-14 16:10:09 -08:00
phy-generic.h usb: phy: rename <linux/usb/usb_phy_gen_xceiv.h> to <linux/usb/usb_phy_generic.h> 2014-04-21 14:07:24 -05:00
phy-gpio-vbus-usb.c Driver core patches for 3.19-rc1 2014-12-14 16:10:09 -08:00
phy-isp1301-omap.c Driver core patches for 3.19-rc1 2014-12-14 16:10:09 -08:00
phy-isp1301.c usb: phy: Fix NULL pointer exception during usb_get_phy 2013-05-15 17:32:47 +03:00
phy-keystone.c usb: phy: drop owner assignment from platform_drivers 2014-10-20 16:21:50 +02:00
phy-msm-usb.c USB patches for 3.19-rc1 2014-12-14 14:57:16 -08:00
phy-mv-usb.c usb: phy: mv-usb: fix usb_phy build errors 2015-01-13 09:32:22 -06:00
phy-mv-usb.h usb: otg: mv_otg: remove unused clock 2013-04-02 11:42:45 +03:00
phy-mxs-usb.c Driver core patches for 3.19-rc1 2014-12-14 16:10:09 -08:00
phy-omap-otg.c usb: phy: drop owner assignment from platform_drivers 2014-10-20 16:21:50 +02:00
phy-rcar-gen2-usb.c usb: phy: phy-rcar-gen2-usb: delete unnecessary 'out of memory' messages 2014-11-03 10:01:05 -06:00
phy-rcar-usb.c usb: phy: rcar-usb: remove duplicate check on resource 2014-11-03 10:01:21 -06:00
phy-tahvo.c Driver core patches for 3.19-rc1 2014-12-14 16:10:09 -08:00
phy-tegra-usb.c Driver core patches for 3.19-rc1 2014-12-14 16:10:09 -08:00
phy-twl6030-usb.c usb: phy: drop owner assignment from platform_drivers 2014-10-20 16:21:50 +02:00
phy-ulpi-viewport.c usb: Remove unnecessary semicolons 2013-10-11 16:26:46 -07:00
phy-ulpi.c usb: rename phy to usb_phy in OTG 2014-11-03 10:01:25 -06:00
phy.c usb: phy: never defer probe in non-OF case 2015-01-19 12:50:27 -06:00