OpenCloudOS-Kernel/drivers/usb/gadget/udc
Alan Stern c93e64e912 usb: udc: core: add device_del() call to error pathway
This patch fixes a bug in the error pathway of
usb_add_gadget_udc_release() in udc-core.c.  If the udc registration
fails, the gadget registration is not fully undone; there's a
put_device(&gadget->dev) call but no device_del().

CC: <stable@vger.kernel.org>
Acked-by: Peter Chen <peter.chen@freescale.com>
Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Felipe Balbi <balbi@ti.com>
2015-08-03 09:54:18 -05:00
..
bdc usb: gadget: bdc: fix a driver crash on disconnect 2015-07-27 10:15:06 -05:00
Kconfig Merge branch 'kconfig' of git://git.kernel.org/pub/scm/linux/kernel/git/mmarek/kbuild 2015-02-19 10:36:45 -08:00
Makefile usb: gadget: Add UDC driver for Broadcom USB3.0 device controller IP BDC 2014-11-18 08:47:23 -06:00
amd5536udc.c usb: gadget: amd5536udc: use udc-core's reset notifier 2014-11-10 17:19:37 -06:00
amd5536udc.h
at91_udc.c usb: gadget: remove incorrect __init/__exit annotations 2015-04-27 14:45:35 -05:00
at91_udc.h ARM: SoC driver updates 2015-02-17 09:38:59 -08:00
atmel_usba_udc.c usb: patches for v4.2 merge window 2015-06-02 10:47:03 +09:00
atmel_usba_udc.h usb: gadget: atmel_usba: use endian agnostic IO on ARM 2015-03-19 11:28:16 -05:00
bcm63xx_udc.c Driver core patches for 3.19-rc1 2014-12-14 16:10:09 -08:00
dummy_hcd.c dummy_hcd: use USB_DT[_SS]_HUB 2015-04-03 19:03:16 +02:00
fotg210-udc.c usb: gadget: udc: fix free_irq() after request_irq() failed 2015-07-06 12:34:08 -05:00
fotg210.h
fsl_mxc_udc.c
fsl_qe_udc.c usb: gadget: cleanup on stack DECLARE_COMPLETIONs 2015-01-12 12:13:27 -06:00
fsl_qe_udc.h
fsl_udc_core.c usb: gadget: remove incorrect __init/__exit annotations 2015-04-27 14:45:35 -05:00
fsl_usb2_udc.h
fusb300_udc.c usb: gadget: remove incorrect __init/__exit annotations 2015-04-27 14:45:35 -05:00
fusb300_udc.h usb: gadget: fusb300_udc.h: Fix typo in include guard 2014-09-03 09:15:57 -05:00
gadget_chips.h
goku_udc.c usb: gadget: goku_udc: Remove uses of seq_<foo> return values 2015-03-19 11:28:15 -05:00
goku_udc.h
gr_udc.c Driver core patches for 3.19-rc1 2014-12-14 16:10:09 -08:00
gr_udc.h usb: gadget: gr_udc: Add bounce buffer to handle odd sized OUT requests 2014-09-16 10:01:45 -05:00
lpc32xx_udc.c usb: gadget: lpc32xxx_udc: Fix NULL dereference 2015-03-11 14:59:10 -05:00
m66592-udc.c usb: gadget: remove incorrect __init/__exit annotations 2015-04-27 14:45:35 -05:00
m66592-udc.h
mv_u3d.h
mv_u3d_core.c Driver core patches for 3.19-rc1 2014-12-14 16:10:09 -08:00
mv_udc.h
mv_udc_core.c usb: gadget: mv_udc_core: fix phy_regs I/O memory leak 2015-07-20 12:57:46 -05:00
net2272.c usb: gadget: net2272: use common is_selfpowered 2015-01-29 10:35:27 -06:00
net2272.h usb: gadget: net2272: use common is_selfpowered 2015-01-29 10:35:27 -06:00
net2280.c usb: gadget: net2280: fix pullup handling 2015-05-26 10:40:31 -05:00
net2280.h usb: gadget: net2280: remove fiforegs as it is unused 2015-03-10 15:33:30 -05:00
omap_udc.c usb: gadget: omap_udc: set value for common is_selfpowered 2015-01-29 10:35:04 -06:00
omap_udc.h
pch_udc.c usb: gadget: pch_udc: set value for common is_selfpowered 2015-01-29 10:35:36 -06:00
pxa25x_udc.c usb: gadget: pxa27x_udc: delete pullup operation at .udc_start and .udc_stop 2015-01-12 12:24:22 -06:00
pxa25x_udc.h
pxa27x_udc.c usb: gadget: constify of_device_id array 2015-03-19 11:28:15 -05:00
pxa27x_udc.h usb: gadget: pxa27x_udc: transfer mach_info into pxa_udc 2014-11-03 10:00:57 -06:00
r8a66597-udc.c usb: gadget: remove incorrect __init/__exit annotations 2015-04-27 14:45:35 -05:00
r8a66597-udc.h
s3c-hsudc.c Driver core patches for 3.19-rc1 2014-12-14 16:10:09 -08:00
s3c2410_udc.c Merge 4.1-rc7 into usb-next 2015-06-08 10:57:51 -07:00
s3c2410_udc.h
udc-core.c usb: udc: core: add device_del() call to error pathway 2015-08-03 09:54:18 -05:00
udc-xilinx.c usb: gadget: xilinx: fix devm_ioremap_resource() check 2015-04-27 14:38:34 -05:00