usb: dwc3: dwc3-omap: return -EPROBE_DEFER if probe has not yet executed
authorKishon Vijay Abraham I <kishon@ti.com>
Thu, 7 Mar 2013 13:21:44 +0000 (18:51 +0530)
committerFelipe Balbi <balbi@ti.com>
Mon, 18 Mar 2013 09:18:14 +0000 (11:18 +0200)
commit2ba7943af0f0cca5a069cd3aff807815bc76fff1
tree4991deda3224f2f73524a1e44f6443e1f8264f42
parentddff14f1ab9b55b73ba59126ef4a10966725fc9d
usb: dwc3: dwc3-omap: return -EPROBE_DEFER if probe has not yet executed

return -EPROBE_DEFER from dwc3_omap_mailbox in dwc3-omap.c, if the probe of
dwc3-omap has not yet been executed or failed.

Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/dwc3/dwc3-omap.c
include/linux/usb/dwc3-omap.h