Files
linux/drivers
Vardan Mikayelyan 0e025f5b63 usb: dwc2: Fix dwc2_hsotg_core_init_disconnected()
[ Upstream commit 755d739534 ]

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>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-05-25 16:13:01 +02:00
..
2018-05-16 10:08:44 +02:00
2018-02-25 11:05:55 +01:00
2018-04-13 19:48:17 +02:00
2017-09-09 17:39:41 +02:00
2018-04-29 11:32:02 +02:00
2018-04-13 19:48:22 +02:00
2018-04-13 19:48:23 +02:00
2018-04-13 19:48:13 +02:00