linux/drivers/usb/chipidea
Li Jun a5a356cee8 usb: chipidea: otg: remove mutex unlock and lock while stop and start role
Wrongly release mutex lock during otg_statemachine may result in re-enter
otg_statemachine, which is not allowed, we should do next state transtition
after previous one completed.

Fixes: 826cfe751f ("usb: chipidea: add OTG fsm operation functions implementation")
Cc: <stable@vger.kernel.org> # v3.16+
Signed-off-by: Li Jun <jun.li@freescale.com>
Signed-off-by: Peter Chen <peter.chen@freescale.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2015-04-28 12:51:30 +02:00
..
Kconfig chipidea: pci: make it depends on NOP_USB_XCEIV 2015-03-26 10:54:39 +01:00
Makefile chipidea: introduce specific Kconfig options for glue drivers 2015-03-26 10:54:39 +01:00
bits.h usb: chipidea: support runtime power management for otg fsm mode 2015-03-18 16:19:12 +01:00
ci.h usb: chipidea: use hrtimer for otg fsm timers 2015-03-26 10:54:39 +01:00
ci_hdrc_imx.c usb: chipidea: add a flag for turn on vbus early for host 2015-03-18 16:19:12 +01:00
ci_hdrc_imx.h usb: chipidea: usbmisc_imx: add .set_wakeup interface 2015-03-18 16:19:09 +01:00
ci_hdrc_msm.c usb: chipidea: remove flag CI_HDRC_REQUIRE_TRANSCEIVER 2014-11-26 09:28:12 -08:00
ci_hdrc_pci.c chipidea: pci: register nop PHY 2015-03-18 16:19:11 +01:00
ci_hdrc_usb2.c usb: chipidea: fix platform_no_drv_owner.cocci warnings 2014-11-26 11:47:43 -08:00
ci_hdrc_zevio.c Chipidea: TI-NSPIRE USB OTG hardware does not support high speed and must connect at full speed 2015-03-18 16:19:11 +01:00
core.c usb: chipidea: support runtime power management for otg fsm mode 2015-03-18 16:19:12 +01:00
debug.c usb: chipidea: debug: add low power mode check before print registers 2015-04-08 14:32:00 +08:00
debug.h usb: chipidea: drop "13xxx" infix 2013-06-24 16:16:55 -07:00
host.c usb: chipidea: host: turn on vbus before add hcd if early vbus on is required 2015-03-18 16:19:12 +01:00
host.h usb: chipidea: add role init and destroy APIs 2013-08-14 12:37:19 -07:00
otg.c usb: chipidea: add runtime power management support 2015-03-18 16:19:08 +01:00
otg.h usb: chipidea: using one inline function to cover queue work operations 2014-05-23 11:35:02 +09:00
otg_fsm.c usb: chipidea: otg: remove mutex unlock and lock while stop and start role 2015-04-28 12:51:30 +02:00
otg_fsm.h usb: chipidea: use hrtimer for otg fsm timers 2015-03-26 10:54:39 +01:00
udc.c usb: chipidea: udc: bypass pullup DP when gadget connect in OTG fsm mode 2015-04-08 14:13:02 +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: usbmisc_imx: fix returnvar.cocci warnings 2015-03-26 10:44:37 +01:00