]> git.baikalelectronics.ru Git - kernel.git/commit
usb: dwc3: gadget: Set link state to RX_Detect on disconnect
authorThinh Nguyen <Thinh.Nguyen@synopsys.com>
Thu, 24 Oct 2019 02:15:49 +0000 (19:15 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 15 Jan 2020 09:39:19 +0000 (10:39 +0100)
commit8252d41fbc868d85ccec18aeb66fe16443ebc938
tree421465e89fbedd478618e563d327b3cce1012b79
parent5cb04dc311b6f64946d80d21600f2af1610c4982
usb: dwc3: gadget: Set link state to RX_Detect on disconnect

When DWC3 receives disconnect event, it needs to set the link state to
RX_Detect.

DWC_usb3 3.30a programming guide 4.1.7

Signed-off-by: Thinh Nguyen <thinhn@synopsys.com>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/dwc3/gadget.c