2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-19 18:53:52 +08:00
linux-next/drivers/usb/gadget
Wojtek Kaniewski 943c441948 USB: at91_udc: Cleanup variables after failure in usb_gadget_register_driver()
This patch zeroes some variables when usb_gadget_register_driver()
fails. gadgetfs does a dummy registration to get the name of the USB
driver and then waits for user-land driver. If someone plugs the cable
in the meantime, bad things happen, because at91_udc has been left in
inconsistent state.

Signed-off-by: Wojtek Kaniewski <wojtekka@toxygen.net>
Acked-by: David Brownell <dbrownell@users.sourceforge.net>
Cc: Andrew Victor <andrew@sanpeople.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2006-12-20 10:14:27 -08:00
..
at91_udc.c USB: at91_udc: Cleanup variables after failure in usb_gadget_register_driver() 2006-12-20 10:14:27 -08:00
at91_udc.h USB: at91_udc, misc fixes 2006-12-20 10:14:27 -08:00
config.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
dummy_hcd.c USB: gadget driver unbind() is optional; section fixes; misc 2006-12-20 10:14:26 -08:00
epautoconf.c [PATCH] USB: gadget section fixups 2006-07-12 16:03:24 -07:00
ether.c Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6 2006-12-05 14:37:56 +00:00
file_storage.c USB: gadget driver unbind() is optional; section fixes; misc 2006-12-20 10:14:26 -08:00
gadget_chips.h [PATCH] USB: fix gadget_is_musbhdrc() 2006-04-14 11:12:24 -07:00
gmidi.c USB: gadget driver unbind() is optional; section fixes; misc 2006-12-20 10:14:26 -08:00
goku_udc.c USB: gadget driver unbind() is optional; section fixes; misc 2006-12-20 10:14:26 -08:00
goku_udc.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
inode.c [PATCH] slab: remove SLAB_KERNEL 2006-12-07 08:39:24 -08:00
Kconfig [ARM] 3963/1: AT91: Update configuration files 2006-12-01 16:56:43 +00:00
lh7a40x_udc.c USB: gadget driver unbind() is optional; section fixes; misc 2006-12-20 10:14:26 -08:00
lh7a40x_udc.h Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
Makefile USB: gmidi: New USB MIDI Gadget class driver. 2006-09-27 11:58:52 -07:00
ndis.h [PATCH] USB: rndis updates (mostly cleanup) 2005-06-27 14:43:50 -07:00
net2280.c USB: gadget driver unbind() is optional; section fixes; misc 2006-12-20 10:14:26 -08:00
net2280.h USB: net2280: don't send unwanted zero-length packets 2006-12-01 14:23:36 -08:00
omap_udc.c USB: gadget driver unbind() is optional; section fixes; misc 2006-12-20 10:14:26 -08:00
omap_udc.h [PATCH] USB: more omap_udc updates (dma and omap1710) 2005-06-27 14:43:50 -07:00
pxa2xx_udc.c USB: gadget driver unbind() is optional; section fixes; misc 2006-12-20 10:14:26 -08:00
pxa2xx_udc.h USB: pxa2xx_udc understands GPIO based VBUS sensing 2006-09-27 11:58:48 -07:00
rndis.c [PATCH] USB: gadget section fixups 2006-07-12 16:03:24 -07:00
rndis.h [PATCH] USB: gadget section fixups 2006-07-12 16:03:24 -07:00
serial.c USB: gadget driver unbind() is optional; section fixes; misc 2006-12-20 10:14:26 -08:00
usbstring.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
zero.c [PATCH] slab: remove SLAB_KERNEL 2006-12-07 08:39:24 -08:00