[lkml]   [2017]   [Sep]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Subject[RESEND x2][PATCH 0/3] dwc2 fixes for edge cases on hikey
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.


Cc: Wei Xu <>
Cc: Guodong Xu <>
Cc: Amit Pundir <>
Cc: YongQin Liu <>
Cc: John Youn <>
Cc: Minas Harutyunyan <>
Cc: Douglas Anderson <>
Cc: Chen Yu <>
Cc: Felipe Balbi <>
Cc: Greg Kroah-Hartman <>

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(-)


 \ /
  Last update: 2017-09-21 19:24    [W:0.079 / U:2.380 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site