OpenCloudOS-Kernel/drivers/usb/dwc2
Vardan Mikayelyan 755d739534 usb: dwc2: Fix dwc2_hsotg_core_init_disconnected()
We should call dwc2_hsotg_enqueue_setup() after properly
setting lx_state. Because it may cause error-out from
dwc2_hsotg_enqueue_setup() due to wrong value in lx_state.

Issue can be reproduced by loading driver while connected
A-Connector (start in A-HOST mode) then disconnect A-Connector
to switch to B-DEVICE.

Acked-by: John Youn <johnyoun@synopsys.com>
Signed-off-by: Vardan Mikayelyan <mvardan@synopsys.com>
Signed-off-by: Grigor Tovmasyan <tovmasya@synopsys.com>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
2018-02-12 10:59:31 +02:00
..
Kconfig usb: add CONFIG_USB_PCI for system have both PCI HW and non-PCI based USB HW 2017-03-17 13:16:56 +09:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
core.c USB: add SPDX identifiers to all remaining files in drivers/usb/ 2017-11-04 11:48:02 +01:00
core.h usb: changes for v4.16 merge window 2018-01-08 14:03:30 +01:00
core_intr.c USB: add SPDX identifiers to all remaining files in drivers/usb/ 2017-11-04 11:48:02 +01:00
debug.h USB: dwc2: Remove redundant license text 2017-11-07 15:45:01 +01:00
debugfs.c USB: dwc2: Remove redundant license text 2017-11-07 15:45:01 +01:00
gadget.c usb: dwc2: Fix dwc2_hsotg_core_init_disconnected() 2018-02-12 10:59:31 +02:00
hcd.c usb: dwc2: host: Don't retry NAKed transactions right away 2017-12-13 11:27:53 +02:00
hcd.h usb: dwc2: host: Don't retry NAKed transactions right away 2017-12-13 11:27:53 +02:00
hcd_ddma.c USB: add SPDX identifiers to all remaining files in drivers/usb/ 2017-11-04 11:48:02 +01:00
hcd_intr.c usb: dwc2: host: Don't retry NAKed transactions right away 2017-12-13 11:27:53 +02:00
hcd_queue.c usb: dwc2: host: Don't retry NAKed transactions right away 2017-12-13 11:27:53 +02:00
hw.h USB: add SPDX identifiers to all remaining files in drivers/usb/ 2017-11-04 11:48:02 +01:00
params.c usb: dwc2: Fix TxFIFOn sizes and total TxFIFO size issues 2017-12-11 12:35:37 +02:00
pci.c USB: add SPDX identifiers to all remaining files in drivers/usb/ 2017-11-04 11:48:02 +01:00
platform.c usb: dwc2: add optional usb ecc reset bit 2017-12-12 13:04:22 +02:00