diff options
author | Manu Gautam <mgautam@codeaurora.org> | 2017-09-27 16:49:20 +0530 |
---|---|---|
committer | Felipe Balbi <felipe.balbi@linux.intel.com> | 2017-10-24 12:51:19 +0300 |
commit | 689bf72c6e0dc97493ba14d82f6762456f8f244a (patch) | |
tree | b59b875cbf81f79dbdb9994e11152e6f5c93757a /drivers/usb/dwc3/dwc3-pci.c | |
parent | ce035409bfa892a2fabb89720b542e1b335c3426 (diff) |
usb: dwc3: Don't reinitialize core during host bus-suspend/resume
Driver powers-off PHYs and reinitializes DWC3 core and gadget on
resume. While this works fine for gadget mode but in host
mode there is not re-initialization of host stack. Also, resetting
bus as part of bus_suspend/resume is not correct which could affect
(or disconnect) connected devices.
Fix this by not reinitializing core on suspend/resume in host mode
for HOST only and OTG/drd configurations.
Signed-off-by: Manu Gautam <mgautam@codeaurora.org>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
Diffstat (limited to 'drivers/usb/dwc3/dwc3-pci.c')
0 files changed, 0 insertions, 0 deletions