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)
commitd105e7f86f890a530cdefc2a715121345de30dc2
tree9ba1568aec725cac6674fa8e280fbcfa54f02853
parent817e5f33d0c12f24bdfebe88c96ca2e968756da4
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