android_kernel_xiaomi_sm8350/drivers/usb/gadget
Nicolas Ferre 08cbc706ac USB: at91_udc: correct hanging while disconnecting usb cable
Correct hanging while disconnecting the USB device cable.  Prevent a race
between vbus and UDP interrupts.  This bug was tracked on at91sam9260ek
boards.

A usb resume interrupt was firing after the vbus interrupt : the IP was
then already stoped and not able to deal with it (no more clock).  A simple
interrupt disabling is ok as the "end of bus reset" irq is non maskable and
ok to resume the USB device IP.

Signed-off-by: Nicolas Ferre <nicolas.ferre@rfo.atmel.com>
Acked-by: David Brownell <david-b@pacbell.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2007-12-17 10:47:15 -08:00
..
amd5536udc.c USB: amd5536udc - remove set_mwi() compiler warning 2007-10-25 12:18:45 -07:00
amd5536udc.h
at91_udc.c USB: at91_udc: correct hanging while disconnecting usb cable 2007-12-17 10:47:15 -08:00
at91_udc.h
atmel_usba_udc.c atmel_usba_udc: Keep track of the device status 2007-10-12 14:55:35 -07:00
atmel_usba_udc.h atmel_usba_udc: Keep track of the device status 2007-10-12 14:55:35 -07:00
config.c
dummy_hcd.c
epautoconf.c
ether.c
file_storage.c Use helpers to obtain task pid in printks 2007-10-19 11:53:43 -07:00
fsl_usb2_udc.c
fsl_usb2_udc.h
gadget_chips.h
gmidi.c
goku_udc.c
goku_udc.h
inode.c
Kconfig
lh7a40x_udc.c Convert files to UTF-8 and some cleanups 2007-10-19 23:21:04 +02:00
lh7a40x_udc.h
m66592-udc.c
m66592-udc.h
Makefile
ndis.h
net2280.c
net2280.h
omap_udc.c USB: omap_udc build fix 2007-11-28 13:58:33 -08:00
omap_udc.h
pxa2xx_udc.c Merge branch 'devel' of master.kernel.org:/home/rmk/linux-2.6-arm 2007-10-15 16:08:50 -07:00
pxa2xx_udc.h
rndis.c
rndis.h
s3c2410_udc.c USB: s3c2410 gadget: ensure vbus pin in input mode during read 2007-11-28 13:58:36 -08:00
s3c2410_udc.h
serial.c
usbstring.c
zero.c