linux/drivers/usb/musb
Sebastian Andrzej Siewior 68693b8ea4 usb: musb: stuff leak of struct usb_hcd
since the split of host+gadget mode in commit 74c2e93600 ("usb: musb:
factor out hcd initalization") we leak the usb_hcd struct. We call now
musb_host_cleanup() which does basically usb_remove_hcd() and also sets
the hcd variable to NULL. Doing so makes the finall call to
musb_host_free() basically a nop and the usb_hcd remains around for ever
without anowner.
This patch drops that NULL assignment for that reason.

Fixes: 74c2e93600 ("usb: musb: factor out hcd initalization")
Cc: <stable@vger.kernel.org> # v3.11+
Cc: Daniel Mack <zonque@gmail.com>
Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Signed-off-by: Felipe Balbi <balbi@ti.com>
2014-12-22 10:36:24 -06:00
..
Kconfig usb: musb: Fix randconfig build issues for Kconfig options 2014-12-22 10:26:06 -06:00
Makefile
am35x.c usb: musb: Change end point selection to use new IO access 2014-11-25 08:47:06 -06:00
blackfin.c usb: musb: blackfin: fix build break 2014-12-22 10:24:10 -06:00
blackfin.h
cppi_dma.c
cppi_dma.h
da8xx.c usb: musb: Pass fifo_mode in platform data 2014-11-25 08:47:07 -06:00
davinci.c
davinci.h
jz4740.c usb: musb: Pass fifo_mode in platform data 2014-11-25 08:47:07 -06:00
musb_am335x.c
musb_core.c Driver core patches for 3.19-rc1 2014-12-14 16:10:09 -08:00
musb_core.h usb: musb: Use IS_ENABLED for tusb6010 2014-11-25 08:47:07 -06:00
musb_cppi41.c usb: musb: Fix a few off-by-one lengths 2014-12-22 10:25:37 -06:00
musb_debug.h
musb_debugfs.c usb: musb: Fix a few off-by-one lengths 2014-12-22 10:25:37 -06:00
musb_dma.h
musb_dsps.c usb: musb: Change end point selection to use new IO access 2014-11-25 08:47:06 -06:00
musb_gadget.c
musb_gadget.h
musb_gadget_ep0.c
musb_host.c usb: musb: stuff leak of struct usb_hcd 2014-12-22 10:36:24 -06:00
musb_host.h
musb_io.h usb: musb: Change end point selection to use new IO access 2014-11-25 08:47:06 -06:00
musb_regs.h usb: musb: Use IS_ENABLED for tusb6010 2014-11-25 08:47:07 -06:00
musb_virthub.c
musbhsdma.c usb: musb: Change end point selection to use new IO access 2014-11-25 08:47:06 -06:00
musbhsdma.h
omap2430.c
omap2430.h
tusb6010.c usb: musb: Change end point selection to use new IO access 2014-11-25 08:47:06 -06:00
tusb6010.h
tusb6010_omap.c
ux500.c usb: musb: Pass fifo_mode in platform data 2014-11-25 08:47:07 -06:00
ux500_dma.c usb: musb: Change to use new IO access 2014-11-25 08:47:06 -06:00