linux-uconsole/drivers/usb/chipidea
Peter Chen 7b8c9e6e0f usb: chipidea: vbus event may exist before starting gadget
[ Upstream commit c3b674a04b ]

At some situations, the vbus may already be there before starting
gadget. So we need to check vbus event after switching to gadget in
order to handle missing vbus event. The typical use cases are plugging
vbus cable before driver load or the vbus has already been there
after stopping host but before starting gadget.

Signed-off-by: Peter Chen <peter.chen@nxp.com>
Tested-by: Stephen Boyd <stephen.boyd@linaro.org>
Reported-by: Stephen Boyd <stephen.boyd@linaro.org>
Signed-off-by: Sasha Levin <alexander.levin@verizon.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2017-10-08 10:14:18 +02:00
..
bits.h usb: chipidea: add tx/rx burst size configuration interface 2015-08-14 10:03:58 +08:00
ci.h usb: chipidea: Only read/write OTGSC from one place 2017-05-14 13:32:56 +02:00
ci_hdrc_imx.c Revert "usb: chipidea: imx: enable CI_HDRC_SET_NON_ZERO_TTHA" 2017-02-26 11:07:51 +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: ci_hdrc_pci: use PCI_VDEVICE() instead of PCI_DEVICE() 2015-10-22 09:36:22 +08:00
ci_hdrc_usb2.c usb: chipidea: add xilinx zynq platform data 2015-09-15 16:08:49 +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: Only read/write OTGSC from one place 2017-05-14 13:32:56 +02:00
debug.c usb: chipidea: debug: check before accessing ci_role 2017-06-14 13:16:22 +02:00
debug.h
host.c usb: chipidea: host: override hcd reset API 2015-08-14 09:13:13 +08:00
host.h usb: chipidea: ehci_init_driver is intended to call one time 2015-07-22 08:03:41 +08:00
Kconfig usb: chipidea: Use extcon framework for VBUS and ID detect 2015-10-22 09:24:25 +08:00
Makefile chipidea: introduce specific Kconfig options for glue drivers 2015-03-26 10:54:39 +01:00
otg.c usb: chipidea: vbus event may exist before starting gadget 2017-10-08 10:14:18 +02:00
otg.h
otg_fsm.c usb: chipidea: otg_fsm: delete the duplicated reset controller operation 2015-08-14 09:13:11 +08: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: fix NULL pointer dereference if udc_start failed 2017-06-14 13:16:22 +02:00
udc.h
usbmisc_imx.c usb: chipidea: usbmisc_imx: fix a possible NULL dereference 2015-11-18 15:27:12 +08:00