diff options
author | Chen Yu <chenyu56@huawei.com> | 2017-01-23 23:59:57 +0100 |
---|---|---|
committer | Felipe Balbi <felipe.balbi@linux.intel.com> | 2017-01-24 15:19:09 +0100 |
commit | 9156a7ef1c3ba482f85f2733edcde2b10189de8c (patch) | |
tree | 219460a6883bb17bfe567f892014df04954ff534 /drivers/usb/dwc2/params.c | |
parent | usb: dwc2: Workaround case where GOTGCTL state is wrong (diff) | |
download | linux-9156a7ef1c3ba482f85f2733edcde2b10189de8c.tar.xz linux-9156a7ef1c3ba482f85f2733edcde2b10189de8c.zip |
usb: dwc2: Force port resume on switching to device mode
We've seen failures when switching between host and gadget mode,
which was diagnosed as being caused due to the bus being
auto-suspended when we switched.
So this patch forces a port resume when switching to device
mode if the bus is suspended.
Cc: Wei Xu <xuwei5@hisilicon.com>
Cc: Guodong Xu <guodong.xu@linaro.org>
Cc: Amit Pundir <amit.pundir@linaro.org>
Cc: Rob Herring <robh+dt@kernel.org>
Cc: John Youn <johnyoun@synopsys.com>
Cc: Douglas Anderson <dianders@chromium.org>
Cc: Chen Yu <chenyu56@huawei.com>
Cc: Vardan Mikayelyan <mvardan@synopsys.com>
Cc: Kishon Vijay Abraham I <kishon@ti.com>
Cc: Felipe Balbi <felipe.balbi@linux.intel.com>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: linux-usb@vger.kernel.org
Signed-off-by: Chen Yu <chenyu56@huawei.com>
Signed-off-by: John Stultz <john.stultz@linaro.org>
Signed-off-by: John Youn <johnyoun@synopsys.com>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
Diffstat (limited to 'drivers/usb/dwc2/params.c')
0 files changed, 0 insertions, 0 deletions