android_kernel_motorola_sm6375/drivers/usb
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Cristian Birsan 9dcb1844f8 usb: gadget: udc: atmel: Fix vbus disconnect handling
commit 12b94da411f9c6d950beb067d913024fd5617a61 upstream.

A DMA transfer can be in progress while vbus is lost due to a cable
disconnect. For endpoints that use DMA, this condition can lead to
peripheral hang. The patch ensures that endpoints are disabled before
the clocks are stopped to prevent this issue.

Fixes: a64ef71ddc ("usb: gadget: atmel_usba_udc: condition clocks to vbus state")
Signed-off-by: Cristian Birsan <[email protected]>
Signed-off-by: Felipe Balbi <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
2020-05-02 08:48:43 +02:00
..
atm
c67x00
cdns3 usb: cdns3: gadget: toggle cycle bit before reset endpoint 2020-03-12 13:00:18 +01:00
chipidea
class cdc-acm: introduce a cool down 2020-04-29 16:33:22 +02:00
common
core USB: hub: Revert commit bd0e6c9614 ("usb: hub: try old enumeration scheme first for high speed devices") 2020-04-29 16:33:14 +02:00
dwc2 usb: dwc2: Fix in ISOC request length checking 2020-02-28 17:22:26 +01:00
dwc3 usb: dwc3: gadget: Do link recovery for SS and SSP 2020-05-02 08:48:42 +02:00
early USB: early: Handle AMD's spec-compliant identifiers, too 2020-04-29 16:33:13 +02:00
gadget usb: gadget: udc: atmel: Fix vbus disconnect handling 2020-05-02 08:48:43 +02:00
host xhci: Don't clear hub TT buffer on ep0 protocol stall 2020-04-29 16:33:23 +02:00
image
isp1760
misc USB: sisusbvga: Change port variable from signed to unsigned 2020-04-29 16:33:13 +02:00
mon
mtu3
musb usb: musb: fix crash with highmen PIO and usbmon 2020-04-01 11:02:15 +02:00
phy
renesas_usbhs
roles
serial USB: serial: io_edgeport: fix slab-out-of-bounds read in edge_interrupt_callback 2020-04-01 11:02:15 +02:00
storage UAS: fix deadlock in error handling and PM flushing work 2020-04-29 16:33:22 +02:00
typec usb: typec: altmode: Fix typec_altmode_get_partner sometimes returning an invalid pointer 2020-04-29 16:33:23 +02:00
usbip
Kconfig
Makefile
usb-skeleton.c