summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJonas Gorski <jogo@openwrt.org>2015-08-23 15:01:08 +0200
committerLuis Henriques <luis.henriques@canonical.com>2015-12-13 17:49:29 +0000
commit33b81c78cf9461b0bd76481a6652678aa6fbbe3a (patch)
treecf955b85b870c3ca0ece430bd9f95086f3f9cec0 /include
parentb50915b3d7844162728828bef80603cec4ffee15 (diff)
usb: ehci-orion: fix probe for !GENERIC_PHY
commit db1319e166c5e872c4be54eac4e47454133708cf upstream. 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.usb fail, -38 [ 1.449403] orion-ehci: probe of f1058000.usb failed with error -38 Similar to dwc3, treat -ENOSYS as no phy. Fixes: d445913ce0ab7f ("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> Signed-off-by: Luis Henriques <luis.henriques@canonical.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions