Files
android_kernel_xiaomi_sm8450/drivers/usb/host
Jonas Gorski db1319e166 usb: ehci-orion: fix probe for !GENERIC_PHY
Commit d445913ce0 ("usb: ehci-orion: add optional PHY support")
added support for optional phys, but devm_phy_optional_get returns
-ENOSYS if GENERIC_PHY is not enabled.

This causes probe failures, even when there are no phys specified:

[    1.443365] orion-ehci f1058000.usb: init f1058000.usb fail, -38
[    1.449403] orion-ehci: probe of f1058000.usb failed with error -38

Similar to dwc3, treat -ENOSYS as no phy.

Fixes: d445913ce0 ("usb: ehci-orion: add optional PHY support")

Signed-off-by: Jonas Gorski <jogo@openwrt.org>
Acked-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2015-10-04 10:45:08 +01:00
..
2013-12-03 10:34:33 -08:00
2015-04-03 19:03:19 +02:00
2013-05-30 21:34:31 +09:00
2014-11-07 09:02:38 -08:00
2014-11-07 09:02:38 -08:00
2014-11-03 15:26:15 -08:00
2013-12-03 10:34:33 -08:00
2015-04-03 19:03:18 +02:00
2013-12-03 10:34:33 -08:00
2015-04-03 19:03:18 +02:00
2015-08-14 16:57:43 -07:00
2015-04-03 19:03:18 +02:00
2015-04-03 19:03:17 +02:00
2015-01-25 21:01:13 +08:00
2015-06-08 14:26:22 -07:00
2013-12-03 10:34:33 -08:00
2013-01-24 13:42:09 -08:00