linux/drivers/usb/musb
Ming Lei 25736e0c82 usb: musb: fix dependency on transceiver driver
This patch let glue driver return -EPROBE_DEFER if the transceiver
is not readly, so we can support defer probe on musb to fix the
below error on 3.7-rc5 if transceiver drivers are built as module:

[   19.052490] unable to find transceiver of type USB2 PHY
[   19.072052] HS USB OTG: no transceiver configured
[   19.076995] musb-hdrc musb-hdrc.0.auto: musb_init_controller failed with status -19
[   19.089355] musb-hdrc: probe of musb-hdrc.0.auto rejects match -19
[   19.096771] driver: 'musb-omap2430': driver_bound: bound to device 'musb-omap2430'
[   19.105194] bus: 'platform': really_probe: bound device musb-omap2430 to driver musb-omap2430
[   19.174407] bus: 'platform': add driver twl4030_usb
[   19.179656] bus: 'platform': driver_probe_device: matched device twl4030_usb with driver twl4030_usb
[   19.202270] bus: 'platform': really_probe: probing driver twl4030_usb with device twl4030_usb
[   19.214172] twl4030_usb twl4030_usb: HW_CONDITIONS 0xc0/192; link 3
[   19.239624] musb-omap2430 musb-omap2430: musb core is not yet ready
[   19.246765] twl4030_usb twl4030_usb: Initialized TWL4030 USB module
[   19.254516] driver: 'twl4030_usb': driver_bound: bound to device 'twl4030_usb'
[   19.263580] bus: 'platform': really_probe: bound device twl4030_usb to driver twl4030_usb

Cc: Sebastian Andrzej Siewior <sebastian@breakpoint.cc>
Cc: <stable@vger.kernel.org> v3.8
Signed-off-by: Ming Lei <ming.lei@canonical.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
2013-01-17 15:45:45 +02:00
..
am35x.c usb: musb: fix dependency on transceiver driver 2013-01-17 15:45:45 +02:00
blackfin.c usb: musb: fix dependency on transceiver driver 2013-01-17 15:45:45 +02:00
blackfin.h usb: musb: drop a gigantic amount of ifdeferry 2011-07-01 14:31:10 -07:00
cppi_dma.c usb: remove use of __devinit 2012-11-21 13:27:16 -08:00
cppi_dma.h
da8xx.c usb: musb: fix dependency on transceiver driver 2013-01-17 15:45:45 +02:00
davinci.c usb: musb: fix dependency on transceiver driver 2013-01-17 15:45:45 +02:00
davinci.h usb: musb: davinci: Fix build breakage 2012-06-04 18:29:42 +03:00
Kconfig usb: musb: patches for v3.7 merge window 2012-09-11 13:56:29 -07:00
Makefile usb: musb: Add support for ti81xx platform 2012-05-04 13:59:34 +03:00
musb_core.c usb: musb: core: fix failure path 2013-01-17 15:45:44 +02:00
musb_core.h usb: musb: remove hand-crafted id handling 2012-11-01 12:32:23 +02:00
musb_debug.h usb: musb: remove extern qualifier from musb_debug.h header 2011-12-21 13:21:02 +02:00
musb_debugfs.c usb: remove use of __devinit 2012-11-21 13:27:16 -08:00
musb_dma.h usb: remove use of __devinit 2012-11-21 13:27:16 -08:00
musb_dsps.c usb: musb: fix dependency on transceiver driver 2013-01-17 15:45:45 +02:00
musb_gadget_ep0.c usb: musb: avoid FADDR read access 2012-10-31 15:21:01 +02:00
musb_gadget.c usb: musb: set TXMAXP and AUTOSET for full speed bulk in device mode 2013-01-10 14:15:19 +02:00
musb_gadget.h
musb_host.c usb: musb: Double buffering issues in host mode TX 2013-01-17 15:45:44 +02:00
musb_host.h usb: musb: host: Handle highmem in PIO mode 2012-08-07 14:27:18 +03:00
musb_io.h usb: musb: use io{read,write}*_rep accessors 2012-12-17 17:15:13 -08:00
musb_regs.h usb: musb: tusb6010: fix compilation 2011-08-12 11:52:50 +03:00
musb_virthub.c usb: musb: drop useless board_mode usage 2012-08-09 12:34:46 +03:00
musbhsdma.c usb: remove use of __devinit 2012-11-21 13:27:16 -08:00
musbhsdma.h usb: musb: remove generic_interrupt 2012-11-06 15:32:13 +02:00
omap2430.c usb: musb: fix dependency on transceiver driver 2013-01-17 15:45:45 +02:00
omap2430.h ARM: OMAP: move OMAP USB platform data to <linux/platform_data/omap-usb.h> 2012-10-24 14:26:55 -07:00
tusb6010_omap.c ARM: arm-soc: power management and clock changes 2012-12-13 10:58:20 -08:00
tusb6010.c usb: musb: fix dependency on transceiver driver 2013-01-17 15:45:45 +02:00
tusb6010.h
ux500_dma.c usb: remove use of __devinit 2012-11-21 13:27:16 -08:00
ux500.c usb: musb: fix dependency on transceiver driver 2013-01-17 15:45:45 +02:00