diff options
author | Manu Gautam <mgautam@codeaurora.org> | 2017-09-27 16:49:20 +0530 |
---|---|---|
committer | Leonard Crestez <leonard.crestez@nxp.com> | 2018-08-24 12:41:33 +0300 |
commit | 500feb07fc12ffdb5dc0252a55e216ec2b862563 (patch) | |
tree | a6ff1cb315be0cc002e8c492ce4f096ee22ecb27 /drivers/usb/cdns3 | |
parent | ce5cd405e9dfceb8f4afbf81f54a8cea1a5a5e8c (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>
(cherry picked from commit 689bf72c6e0dc97493ba14d82f6762456f8f244a)
Diffstat (limited to 'drivers/usb/cdns3')
0 files changed, 0 insertions, 0 deletions