linux-sg2042/drivers/usb/chipidea
Peter Chen 5a1e1456fc usb: chipidea: fix nobody cared IRQ when booting with host role
If we connect Male-A-To-Male-A cable between otg-host and host pc,
the ci->vbus_active is set wrongly, and cause the controller run
at peripheral mode when we load gadget module (ci_udc_start will be run),
but the software runs at host mode due to id = 0. The ehci_irq
can't handle suspend (USBi_SLI) interrupt which is enabled for
peripheral mode, it causes no one will handle irq error.

This patch is needed for 3.12 stable

Cc: stable <stable@vger.kernel.org>
Acked-by: Michael Grzeschik <mgr@pengutronix.de>
Reported-by: Marc Kleine-Budde <mkl@pengutronix.de>
Tested-by: Marc Kleine-Budde <mkl@pengutronix.de>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Signed-off-by: Peter Chen <peter.chen@freescale.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2013-12-09 13:14:12 -08:00
..
Kconfig usb: chipidea: USB_CHIPIDEA should depend on HAS_DMA 2013-09-25 17:30:39 -07:00
Makefile usb: chipidea: otg: add otg file used to access otgsc 2013-08-14 12:37:19 -07:00
bits.h usb: chipidea: add ci_hdrc_enter_lpm API 2013-09-30 18:54:07 -07:00
ci.h usb: chipidea: add wait vbus lower than OTGSC_BSV before role starts 2013-08-14 12:37:20 -07:00
ci_hdrc_imx.c Merge branch 'for-linus-dma-masks' of git://git.linaro.org/people/rmk/linux-arm 2013-11-14 07:55:21 +09:00
ci_hdrc_imx.h USB: chipidea: i.MX: simplify usbmisc 2013-08-14 12:37:20 -07:00
ci_hdrc_msm.c usb: chipidea: retire flag CI_HDRC_PULLUP_ON_VBUS 2013-08-14 12:37:20 -07:00
ci_hdrc_pci.c usb: chipidea: add Intel Clovertrail pci id 2013-10-03 15:41:54 -07:00
core.c usb: chipidea: fix nobody cared IRQ when booting with host role 2013-12-09 13:14:12 -08:00
debug.c usb: chipidea: drop "13xxx" infix 2013-06-24 16:16:55 -07:00
debug.h usb: chipidea: drop "13xxx" infix 2013-06-24 16:16:55 -07:00
host.c usb: chipidea: host: Only disable the vbus regulator if it is not NULL 2013-12-09 13:14:12 -08:00
host.h usb: chipidea: add role init and destroy APIs 2013-08-14 12:37:19 -07:00
otg.c usb: chipidea: add wait vbus lower than OTGSC_BSV before role starts 2013-08-14 12:37:20 -07:00
otg.h usb: chipidea: add vbus interrupt handler 2013-08-14 12:37:20 -07:00
udc.c usb: chipidea: fix nobody cared IRQ when booting with host role 2013-12-09 13:14:12 -08:00
udc.h usb: chipidea: add role init and destroy APIs 2013-08-14 12:37:19 -07:00
usbmisc_imx.c USB: chipidea: i.MX: simplify usbmisc 2013-08-14 12:37:20 -07:00