Re: [PATCH] usb: ehci-orion: fix probe for !GENERIC_PHY

2015-08-23 Thread Alan Stern
On Sun, 23 Aug 2015, Jonas Gorski wrote: > Commit d445913ce0ab7f ("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: > >

[PATCH] usb: ehci-orion: fix probe for !GENERIC_PHY

2015-08-23 Thread Jonas Gorski
Commit d445913ce0ab7f ("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.us