Revert "usb: dwc3: rockchip: fix otg plug out error before resume"
authorMeng Dongyang <daniel.meng@rock-chips.com>
Fri, 14 Oct 2016 07:57:42 +0000 (15:57 +0800)
committerHuang, Tao <huangtao@rock-chips.com>
Fri, 14 Oct 2016 09:09:05 +0000 (17:09 +0800)
commit84343348feb44761a0f81d86984c0530e5fef04e
tree732edeb648571debdff01ac822232540c3a8a603
parentecaa873d5ad55c5e767917a5ea3b802d32a18ce5
Revert "usb: dwc3: rockchip: fix otg plug out error before resume"

This reverts commit ccc954ee9f8859569fe16cc17b598fbfece07ae8.
In current code, the dwc3 controller will not process notify when it is
in suspend state and this forbid extcon remove hcd before xhci resume, so
we do not need to forbid remove hcd by the hcd runtime flag and it is
difficult to deal with different process when connected with some special
usb storage.

Change-Id: I987862cceb4ffbe8deefb503f6bc4009770e87bd
Signed-off-by: Meng Dongyang <daniel.meng@rock-chips.com>
drivers/usb/dwc3/dwc3-rockchip.c