mbox series

[v2,0/4] usb: gadget: Link state changes

Message ID cover.1571882179.git.thinhn@synopsys.com (mailing list archive)
Headers show
Series usb: gadget: Link state changes | expand

Message

Thinh Nguyen Oct. 24, 2019, 2:15 a.m. UTC
This patch series adds some fixes to how dwc3 handles cases related to
link state changes.

Changes in v2:
 - Create inline function to do safe write to DCTL


Thinh Nguyen (4):
  usb: dwc3: gadget: Don't send unintended link state change
  usb: dwc3: gadget: Set link state to RX_Detect on disconnect
  usb: dwc3: gadget: Clear DCTL.ULSTCHNGREQ before set
  usb: dwc3: debug: Remove newline printout

 drivers/usb/dwc3/debug.h  |  4 ++--
 drivers/usb/dwc3/gadget.c | 21 ++++++++++++---------
 drivers/usb/dwc3/gadget.h | 14 ++++++++++++++
 3 files changed, 28 insertions(+), 11 deletions(-)