android_kernel_xiaomi_sm8350/drivers/usb/gadget
Franck Bui-Huu 943e1b4d60 [PATCH] USB: gadget-serial: fix a deadlock when closing the serial device
When closing the device, the driver acquires/release twice the
port lock before/after waiting for the data to be completely
sent. Therefore it will dead lock.

This patch fixes it and also uses the generic scheduler services
for waiting for an event.

Signed-off-by: Franck Bui-Huu <vagabon.xyz@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2006-06-21 15:04:17 -07:00
..
at91_udc.c [PATCH] USB: at91 usb driver supend/resume fixes 2006-04-14 11:12:25 -07:00
at91_udc.h [PATCH] USB: add support for AT91 gadget 2006-03-20 14:49:56 -08:00
config.c
dummy_hcd.c [PATCH] USB: kzalloc() conversion in drivers/usb/gadget 2006-03-20 14:49:59 -08:00
epautoconf.c
ether.c [PATCH] USB: trivial DEBUG message correction in gadget ether driver 2006-06-21 15:04:17 -07:00
file_storage.c [PATCH] USB: g_file_storage: use module_param_array_named macro 2006-04-14 11:12:21 -07:00
gadget_chips.h [PATCH] USB: fix gadget_is_musbhdrc() 2006-04-14 11:12:24 -07:00
goku_udc.c [SPARC]: Kill __irq_itoa(). 2006-06-20 01:21:29 -07:00
goku_udc.h
inode.c [PATCH] gadgetfs: fix memory leaks 2006-06-21 15:04:13 -07:00
Kconfig [PATCH] USB: net2282 and net2280 software compatibility 2006-04-14 11:12:19 -07:00
lh7a40x_udc.c [PATCH] USB: kzalloc() conversion in drivers/usb/gadget 2006-03-20 14:49:59 -08:00
lh7a40x_udc.h
Makefile [PATCH] USB: add support for AT91 gadget 2006-03-20 14:49:56 -08:00
ndis.h
net2280.c [PATCH] USB: net2280: add a shutdown routine 2006-06-21 15:04:10 -07:00
net2280.h [PATCH] USB: linux/usb/net2280.h common definitions 2006-04-14 11:12:25 -07:00
omap_udc.c [PATCH] USB: kzalloc() conversion in drivers/usb/gadget 2006-03-20 14:49:59 -08:00
omap_udc.h
pxa2xx_udc.c [PATCH] USB: kzalloc() conversion in drivers/usb/gadget 2006-03-20 14:49:59 -08:00
pxa2xx_udc.h
rndis.c [PATCH] USB: Gadget RNDIS fix alloc bug. (buffer overflow) 2006-02-28 12:42:06 -08:00
rndis.h
serial.c [PATCH] USB: gadget-serial: fix a deadlock when closing the serial device 2006-06-21 15:04:17 -07:00
usbstring.c
zero.c [PATCH] USB: gadget zero poisons OUT buffers 2006-04-14 11:12:24 -07:00