summaryrefslogtreecommitdiffstats
path: root/drivers/usb/host/pci-quirks.h
diff options
context:
space:
mode:
authorPeter Chen2013-12-05 08:20:50 +0100
committerGreg Kroah-Hartman2013-12-09 22:14:12 +0100
commit5a1e1456fc633da5291285b1fff75d2a7507375b (patch)
tree7d1c4a17d4fcc05f50efebaf7d3f0934c34b0dd5 /drivers/usb/host/pci-quirks.h
parentusb: chipidea: host: Only disable the vbus regulator if it is not NULL (diff)
downloadkernel-qcow2-linux-5a1e1456fc633da5291285b1fff75d2a7507375b.tar.gz
kernel-qcow2-linux-5a1e1456fc633da5291285b1fff75d2a7507375b.tar.xz
kernel-qcow2-linux-5a1e1456fc633da5291285b1fff75d2a7507375b.zip
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>
Diffstat (limited to 'drivers/usb/host/pci-quirks.h')
0 files changed, 0 insertions, 0 deletions