linux/drivers/usb/chipidea
Li Jun 69e961c219 usb: chipidea: otg: remove mutex unlock and lock while stop and start role
[ Upstream commit a5a356cee8 ]

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>
Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
History 2015-05-17 19:12:38 -04:00
..
bits.h usb: chipidea: OTG fsm timers initialization 2014-04-24 12:56:35 -07:00
ci.h usb: chipidea: enhance kernel-doc format 2014-09-23 21:32:31 -07:00
ci_hdrc_imx.c chipidea: usbmisc_imx: Add USB support for VF610 SoCs 2014-09-23 21:32:30 -07:00
ci_hdrc_imx.h chipidea: usbmisc_imx: Add USB support for VF610 SoCs 2014-09-23 21:32:30 -07:00
ci_hdrc_msm.c usb: chipidea: msm: Initialize PHY on reset event 2014-09-10 17:30:39 -07:00
ci_hdrc_pci.c usb: chipidea: remove DEFINE_PCI_DEVICE_TABLE macro 2013-12-03 10:22:52 -08:00
ci_hdrc_zevio.c usb: chipidea: add support for USB OTG controller on LSI Zevio SoCs 2014-03-12 12:32:21 -07:00
core.c usb: chipidea: Fix oops when removing the ci_hdrc module 2014-10-27 10:01:05 +08:00
debug.c usb: chipidea: debug: fix sparse non static symbol warnings 2014-07-22 16:31:37 -07:00
debug.h usb: chipidea: drop "13xxx" infix 2013-06-24 16:16:55 -07:00
host.c usb: rename phy to usb_phy in HCD 2014-09-29 11:52:59 -04:00
host.h usb: chipidea: add role init and destroy APIs 2013-08-14 12:37:19 -07:00
Kconfig usb: chipidea: USB_CHIPIDEA should depend on HAS_DMA 2013-09-25 17:30:39 -07:00
Makefile usb: chipidea: usb OTG fsm initialization. 2014-04-24 12:56:34 -07:00
otg.c usb: chipidea: add sys inputs for OTG fsm input 2014-04-24 12:56:35 -07: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-05-17 19:12:38 -04:00
otg_fsm.h usb: chipidea: add sys inputs for OTG fsm input 2014-04-24 12:56:35 -07:00
udc.c usb: chipidea: otg: add a_alt_hnp_support response for B device 2015-04-16 20:11:40 -04:00
udc.h usb: chipidea: add role init and destroy APIs 2013-08-14 12:37:19 -07:00
usbmisc_imx.c chipidea: usbmisc_imx: Add USB support for VF610 SoCs 2014-09-23 21:32:30 -07:00