FROMLIST: usb: dwc2: resume root hub to handle disconnect of device
authorWilliam Wu <william.wu@rock-chips.com>
Sat, 27 May 2017 03:23:36 +0000 (11:23 +0800)
committerHuang, Tao <huangtao@rock-chips.com>
Wed, 31 May 2017 01:47:25 +0000 (09:47 +0800)
commit5aa4dbed7c0f0401f51779a66edf838103582bf3
tree3b1166d62448160f21b67ed6face589ea4cefc20
parent0d74da8302d492dbb5922ff128c0b351d0b69d72
FROMLIST: usb: dwc2: resume root hub to handle disconnect of device

When handle disconnect of the hcd during bus_suspend, hcd
needs to resume its root hub, otherwise the root hub will
not disconnect the existing devices under its port.

This issue always happens when connecting with usb devices
which support auto-suspend function (e.g. usb hub).

(am from https://patchwork.kernel.org/patch/9751469/)
Change-Id: I663fdea73f36e89130d9a250612363968cbff941
Signed-off-by: William Wu <william.wu@rock-chips.com>
drivers/usb/dwc2/hcd.c