]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit4659f7de2c2ca1336aa39178d4af8554d4af5626
treeff52c35586459af62e21e8dc980602f9654c43df
parent54f2afb29601022ff2f820a36df6311d0d6138e1
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