]> git.baikalelectronics.ru Git - kernel.git/commit
usb: dwc3: fix PHY error handling
authorFelipe Balbi <balbi@ti.com>
Fri, 15 Mar 2013 08:52:08 +0000 (10:52 +0200)
committerFelipe Balbi <balbi@ti.com>
Mon, 18 Mar 2013 09:18:28 +0000 (11:18 +0200)
commit035f12490464fc7b11b7a862645c6f2cdd252f1f
tree9ba1568aec725cac6674fa8e280fbcfa54f02853
parentd5c82f2e824326f086764e415e4258540b8b7a36
usb: dwc3: fix PHY error handling

PHY layer no longer returns NULL. It will
return -ENXIO when PHY layer isn't enabled
and we can use that to bail out instead of
request a probe deferral.

Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/dwc3/core.c