OSDN Git Service

usb: dwc2: host: avoid resetting lx_state to L3 during disconnect
authorGregory Herrero <gregory.herrero@intel.com>
Tue, 22 Sep 2015 13:16:42 +0000 (15:16 +0200)
committerFelipe Balbi <balbi@ti.com>
Thu, 1 Oct 2015 17:40:16 +0000 (12:40 -0500)
commit9afaf75508b0bec6ef38b83d97aa40701cc1b00c
tree01824308b34a1bf005e4ddd833dfc0d1b4d3361e
parent31927b6b68acd21258b1f4ef24464acae60cfd36
usb: dwc2: host: avoid resetting lx_state to L3 during disconnect

When a device is disconnected, lx_state must not be changed since the
device may be disconnected whereas controller is still powered.

Signed-off-by: Gregory Herrero <gregory.herrero@intel.com>
Signed-off-by: Mian Yousaf Kaukab <yousaf.kaukab@intel.com>
Tested-by: Robert Baldyga <r.baldyga@samsung.com>
Tested-by: Dinh Nguyen <dinguyen@opensource.altera.com>
Tested-by: John Youn <johnyoun@synopsys.com>
Acked-by: John Youn <johnyoun@synopsys.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/dwc2/core_intr.c