linux-stable/drivers/usb/musb
Aaro Koskinen f8c4b0e73b usb: musb: omap2430: fix omap_musb_mailbox glue check again
Commit 80ab72e1 (usb: musb: omap2430: fix the readiness check
in omap_musb_mailbox) made the check incorrect, as we will lose the
glue/link status during the normal built-in probe order (twl4030_usb is
probed after musb omap2430, but before musb core is ready).

As a result, if you boot with USB cable on and load g_ether, the
connection does not work as the code thinks the cable is off and the
phy gets powered down immediately. This is a major regression in 3.9-rc1.

So the proper check should be: exit if _glue is NULL, but if it's
initialized we memorize the status, and then check if the musb core
is ready.

Signed-off-by: Aaro Koskinen <aaro.koskinen@iki.fi>
Signed-off-by: Felipe Balbi <balbi@ti.com>
2013-03-05 13:26:59 +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
cppi_dma.c usb: musb: cppi_dma: drop '__init' annotation 2013-01-18 14:08:18 +02: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
Kconfig usb: musb: remove all 'select' from Kconfig 2013-03-05 13:22:40 +02:00
Makefile
musb_core.c usb: musb: fix compile warning 2013-03-05 13:25:36 +02:00
musb_core.h usb: musb: remove hand-crafted id handling 2012-11-01 12:32:23 +02:00
musb_debug.h
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 patches for 3.9-rc1 2013-02-21 12:20:00 -08: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_gadget_ep0.c usb: musb: avoid FADDR read access 2012-10-31 15:21:01 +02:00
musb_host.c usb: musb: Double buffering issues in host mode TX 2013-01-17 15:45:44 +02:00
musb_host.h
musb_io.h usb: musb: use io{read,write}*_rep accessors 2012-12-17 17:15:13 -08:00
musb_regs.h
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: omap2430: fix omap_musb_mailbox glue check again 2013-03-05 13:26:59 +02:00
omap2430.h usb: start using the control module driver 2013-01-25 12:27:24 +02:00
tusb6010.c usb: musb: fix dependency on transceiver driver 2013-01-17 15:45:45 +02:00
tusb6010.h
tusb6010_omap.c ARM: arm-soc: power management and clock changes 2012-12-13 10:58:20 -08:00
ux500.c usb: musb: fix dependency on transceiver driver 2013-01-17 15:45:45 +02:00
ux500_dma.c usb: remove use of __devinit 2012-11-21 13:27:16 -08:00