usb: dwc2: Fix host exit from hibernation flow.
authorArtur Petrosyan <Arthur.Petrosyan@synopsys.com>
Wed, 23 May 2018 13:26:08 +0000 (09:26 -0400)
committerFelipe Balbi <felipe.balbi@linux.intel.com>
Tue, 19 Jun 2018 09:48:12 +0000 (12:48 +0300)
commit22bb5cfdf13ae70c6a34508a16cfeee48f162443
tree07c54d46f0aecca3fd84acf2786b0db440c439b6
parent9925e6ebe5c2da9601037cca73462782900b9190
usb: dwc2: Fix host exit from hibernation flow.

In case when a hub is connected to DWC2 host
auto suspend occurs and host goes to
hibernation. When any device connected to hub
host hibernation exiting incorrectly.

- Added dwc2_hcd_rem_wakeup() function call to
  exit from suspend state by remote wakeup.

- Increase timeout value for port suspend bit to be set.

Acked-by: Minas Harutyunyan <hminas@synopsys.com>
Signed-off-by: Artur Petrosyan <arturp@synopsys.com>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
drivers/usb/dwc2/hcd.c