exynos-linux-stable/drivers/usb/chipidea
Peter Chen 3f22900466 usb: chipidea: vbus event may exist before starting gadget
[ Upstream commit c3b674a04b8ab62a1d35e86714d466af0a0ecc18 ]

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:26:07 +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 14:00:18 +02:00
ci_hdrc_imx.c usb: chipidea: imx: set over current polarity per dts setting 2016-09-14 10:58:13 +08:00
ci_hdrc_imx.h usb: chipidea: imx: set over current polarity per dts setting 2016-09-14 10:58:13 +08:00
ci_hdrc_msm.c usb: chipidea: msm: Rely on core to override AHBBURST 2017-04-12 12:41:19 +02:00
ci_hdrc_pci.c usb: chipidea: fix return value check in ci_hdrc_pci_probe() 2016-02-19 14:13:44 +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 14:00:18 +02:00
debug.c usb: chipidea: debug: check before accessing ci_role 2017-06-14 15:05:59 +02:00
host.c usb: chipidea: host: fix NULL ptr dereference during shutdown 2016-10-25 16:14:32 +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: Kconfig: improve Kconfig help text 2016-06-21 10:48:30 +08:00
Makefile usb: chipidea: delete static debug support 2015-12-24 14:15:26 +08:00
otg.c usb: chipidea: vbus event may exist before starting gadget 2017-10-08 10:26:07 +02: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: add A idle to B disconnect timer 2016-03-04 15:14:38 +02:00
otg_fsm.h usb: chipidea: otg: add A idle to B disconnect timer 2016-03-04 15:14:38 +02:00
udc.c usb: chipidea: udc: fix NULL pointer dereference if udc_start failed 2017-06-14 15:05:58 +02:00
udc.h usb: chipidea: add role init and destroy APIs 2013-08-14 12:37:19 -07:00
usbmisc_imx.c usb: chipidea: imx: set over current polarity per dts setting 2016-09-14 10:58:13 +08:00