android_kernel_xiaomi_sm8350/drivers/usb/gadget
Felipe Balbi 889394b1eb USB: gadget: don't wait for completion twice
In some obscure scenarios e.g. passing a 0-byte backing file
storage, wait_for_completion() would wait forever in fsg_cleanup().

Prevent it by completing the thread in fsg_bind() error path.

Signed-off-by: Felipe Balbi <felipe.balbi@nokia.com>
Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2009-01-07 10:00:03 -08:00
..
amd5536udc.c
amd5536udc.h
at91_udc.c gadget: struct device - replace bus_id with dev_name(), dev_set_name() 2009-01-06 10:44:42 -08:00
at91_udc.h
atmel_usba_udc.c gadget: struct device - replace bus_id with dev_name(), dev_set_name() 2009-01-06 10:44:42 -08:00
atmel_usba_udc.h
cdc2.c
ci13xxx_udc.c USB: gadget: MIPS ci13xxx_udc 2009-01-07 09:59:58 -08:00
ci13xxx_udc.h USB: gadget: MIPS ci13xxx_udc 2009-01-07 09:59:58 -08:00
composite.c
config.c
dummy_hcd.c
epautoconf.c USB: gadget: change simple_strtol to simple_strtoul 2009-01-07 09:59:58 -08:00
ether.c
f_acm.c USB: gadget: cdc-acm deadlock fix 2008-11-13 14:45:06 -08:00
f_ecm.c
f_loopback.c
f_obex.c
f_phonet.c Phonet: USB CDC Phonet function for gadget framework 2008-12-17 15:49:09 -08:00
f_rndis.c USB: gadget: fix rndis working at high speed 2008-12-17 10:49:12 -08:00
f_serial.c
f_sourcesink.c
f_subset.c
file_storage.c USB: gadget: don't wait for completion twice 2009-01-07 10:00:03 -08:00
fsl_qe_udc.c USB: fsl_qe_udc: Check for muram allocation errors 2009-01-07 09:59:52 -08:00
fsl_qe_udc.h
fsl_usb2_udc.c USB: fsl_usb2_udc: Report disconnect before unbinding 2008-11-30 22:24:03 -08:00
fsl_usb2_udc.h
g_zero.h
gadget_chips.h USB: gadget: MIPS ci13xxx_udc 2009-01-07 09:59:58 -08:00
gmidi.c
goku_udc.c
goku_udc.h
inode.c zero i_uid/i_gid on inode allocation 2009-01-05 11:54:28 -05:00
Kconfig USB: gadget: MIPS ci13xxx_udc 2009-01-07 09:59:58 -08:00
lh7a40x_udc.c gadget: struct device - replace bus_id with dev_name(), dev_set_name() 2009-01-06 10:44:42 -08:00
lh7a40x_udc.h
m66592-udc.c USB: m66592 and r8a66597 resource changes 2009-01-07 09:59:53 -08:00
m66592-udc.h sh: sh_mobile usbf clock framework support 2008-12-22 18:42:51 +09:00
Makefile USB: gadget: MIPS ci13xxx_udc 2009-01-07 09:59:58 -08:00
ndis.h
net2280.c USB: avoid needless address-taking of function parameters 2009-01-07 09:59:50 -08:00
net2280.h
omap_udc.c USB: otg: add otg_put_transceiver() 2009-01-07 10:00:02 -08:00
omap_udc.h
printer.c
pxa25x_udc.c USB: gadget: pxa25x_udc vbus sense initialization 2009-01-07 10:00:02 -08:00
pxa25x_udc.h
pxa27x_udc.c USB: gadget: pxa27x_udc.c: cleanup kernel-doc 2009-01-07 09:59:54 -08:00
pxa27x_udc.h
rndis.c
rndis.h
s3c2410_udc.c USB: gadget: s3c2410_udc uses standard GPIO calls 2009-01-07 10:00:02 -08:00
s3c2410_udc.h
serial.c
u_ether.c netdev: expose ethernet address primitives 2008-11-19 22:42:31 -08:00
u_ether.h
u_phonet.h Phonet: USB CDC Phonet function for gadget framework 2008-12-17 15:49:09 -08:00
u_serial.c
u_serial.h
usbstring.c
zero.c