Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1736052
| From | John Stultz <john.stultz@linaro.org> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [RESEND x2][PATCH 0/3] dwc2 fixes for edge cases on hikey |
| Date | 2017-09-20 22:00 +0200 |
| Message-ID | <urTk5-7sy-1@gated-at.bofh.it> (permalink) |
| Organization | linux.* mail to news gateway |
So here are a few dwc2 fixes that I've been using with HiKey. I'm not totally sure these are all ideal, but they avoid edge case issues that we have been running into with switching between gadget mode and host mode. I'd guess the first two are potentially -stable material, and the last might be worth sending to -stable too, as its a relatively simple fix, but to my understanding the UDC state tracking has always been broken so its not really a regression. But still. I'd love to get some feedback on the patches and consideration to be merged upstream. thanks -john Cc: Wei Xu <xuwei5@hisilicon.com> Cc: Guodong Xu <guodong.xu@linaro.org> Cc: Amit Pundir <amit.pundir@linaro.org> Cc: YongQin Liu <yongqin.liu@linaro.org> Cc: John Youn <johnyoun@synopsys.com> Cc: Minas Harutyunyan <Minas.Harutyunyan@synopsys.com> Cc: Douglas Anderson <dianders@chromium.org> Cc: Chen Yu <chenyu56@huawei.com> Cc: Felipe Balbi <felipe.balbi@linux.intel.com> Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Cc: linux-usb@vger.kernel.org John Stultz (3): usb: dwc2: Improve gadget state disconnection handling usb: dwc2: Error out of dwc2_hsotg_ep_disable() if we're in host mode usb: dwc2: Fix UDC state tracking drivers/usb/dwc2/gadget.c | 7 +++++++ drivers/usb/dwc2/hcd.c | 8 ++++++-- 2 files changed, 13 insertions(+), 2 deletions(-) -- 2.7.4
Back to linux.kernel | Previous | Next — Next in thread | Find similar | Unroll thread
[RESEND x2][PATCH 0/3] dwc2 fixes for edge cases on hikey John Stultz <john.stultz@linaro.org> - 2017-09-20 22:00 +0200 [RESEND x2][PATCH 2/3] usb: dwc2: Error out of dwc2_hsotg_ep_disable() if we're in host mode John Stultz <john.stultz@linaro.org> - 2017-09-20 22:00 +0200 [RESEND x2][PATCH 1/3] usb: dwc2: Improve gadget state disconnection handling John Stultz <john.stultz@linaro.org> - 2017-09-20 22:00 +0200 [RESEND x2][PATCH 3/3] usb: dwc2: Fix UDC state tracking John Stultz <john.stultz@linaro.org> - 2017-09-20 22:00 +0200
csiph-web