usb: dwc2: host: add flag to reflect bus state
authorGregory Herrero <gregory.herrero@intel.com>
Tue, 22 Sep 2015 13:16:39 +0000 (15:16 +0200)
committerFelipe Balbi <balbi@ti.com>
Thu, 1 Oct 2015 17:40:15 +0000 (12:40 -0500)
commit734643dfbdde7dd881b2c16404a86f444287414e
treeff52c35586459af62e21e8dc980602f9654c43df
parent30db103c3ddeb0b616eedb8fd030b88efb1af96f
usb: dwc2: host: add flag to reflect bus state

lx_state must be used to reflect controller power state only and not
bus state. Thus add a flag to track state during bus suspend.

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.h
drivers/usb/dwc2/hcd.c