android_kernel_samsung_msm8976/drivers/usb/gadget
Alan Stern 87c4252a35 [PATCH] USB: file-storage gadget: Add reference count for children
This patch (as601) adds a proper reference count to the file-storage
gadget's main data structure, to keep track of references held by child
devices (LUNs in this case).  Before this, the driver would wait for
each child to be released before unbinding.

While there's nothing really wrong with that (you can't create a hang by
doing "rmmod g_file_storage </sys/.../lun0/ro" since the open file will
prevent rmmod from running), the code might as well follow the standard
procedures.  Besides, this shrinks the size of the structure by a few
words...  :-)

Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2006-01-04 13:48:30 -08:00
..
config.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
dummy_hcd.c [PATCH] USB: fix build breakage in dummy_hcd.c 2005-11-17 11:29:52 -08:00
epautoconf.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ether.c [PATCH] USB: gadget drivers - add .owner initialisation 2005-10-28 16:47:45 -07:00
file_storage.c [PATCH] USB: file-storage gadget: Add reference count for children 2006-01-04 13:48:30 -08:00
gadget_chips.h [PATCH] USB: Gadget library: centralize gadget controller numbers 2005-09-08 16:22:16 -07:00
goku_udc.c [PATCH] PCI: removed unneeded .owner field from struct pci_driver 2005-11-10 16:09:17 -08:00
goku_udc.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
inode.c [PATCH] USB gadgetfs: fixes an error on writing to endpoint file 2005-09-12 12:23:45 -07:00
Kconfig [PATCH] USB: Kconfig fixes for usb/gadget 2005-06-27 14:43:53 -07:00
lh7a40x_udc.c [DRIVER MODEL] Convert platform drivers to use struct platform_driver 2005-11-09 22:32:44 +00:00
lh7a40x_udc.h [PATCH] changing CONFIG_LOCALVERSION rebuilds too much, for no good reason 2005-11-09 07:55:57 -08:00
Makefile Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ndis.h [PATCH] USB: rndis updates (mostly cleanup) 2005-06-27 14:43:50 -07:00
net2280.c [PATCH] PCI: removed unneeded .owner field from struct pci_driver 2005-11-10 16:09:17 -08:00
net2280.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
omap_udc.c [DRIVER MODEL] Convert platform drivers to use struct platform_driver 2005-11-09 22:32:44 +00:00
omap_udc.h [PATCH] USB: more omap_udc updates (dma and omap1710) 2005-06-27 14:43:50 -07:00
pxa2xx_udc.c Merge master.kernel.org:/home/rmk/linux-2.6-drvmodel 2005-11-11 09:24:26 -08:00
pxa2xx_udc.h [ARM] 3044/1: Fix sparse warnings about incompatible pointer types for register defined in pxa-regs.h 2005-10-28 15:26:42 +01:00
rndis.c [PATCH] changing CONFIG_LOCALVERSION rebuilds too much, for no good reason 2005-11-09 07:55:57 -08:00
rndis.h [PATCH] USB: rndis updates (mostly cleanup) 2005-06-27 14:43:50 -07:00
serial.c [PATCH] gfp_t: drivers/usb 2005-10-28 08:16:49 -07:00
usbstring.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
zero.c [PATCH] USB: gadget drivers - add .owner initialisation 2005-10-28 16:47:45 -07:00