]> Pileus Git - ~andy/linux/commit
usb: gadget: mv_udc_core: fix PHY error handling
authorFelipe Balbi <balbi@ti.com>
Fri, 15 Mar 2013 08:54:59 +0000 (10:54 +0200)
committerFelipe Balbi <balbi@ti.com>
Mon, 18 Mar 2013 09:18:28 +0000 (11:18 +0200)
commit4dbb71612505de1d3d69d011199554f86273c5e9
tree48cb79b15b918986cb178d6be57551361d049560
parentd105e7f86f890a530cdefc2a715121345de30dc2
usb: gadget: mv_udc_core: 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/gadget/mv_udc_core.c