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
..
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 usb: musb: drop a gigantic amount of ifdeferry 2011-07-01 14:31:10 -07:00
cppi_dma.c usb: musb: dma: merge ->start/stop into create/destroy 2013-07-29 13:53:18 +03:00
cppi_dma.h
da8xx.c usb: musb: Pass fifo_mode in platform data 2014-11-25 08:47:07 -06:00
davinci.c usb: move the OTG state from the USB PHY to the OTG structure 2014-11-03 10:01:25 -06:00
davinci.h usb: musb: davinci: Fix build breakage 2012-06-04 18:29:42 +03:00
jz4740.c usb: musb: Pass fifo_mode in platform data 2014-11-25 08:47:07 -06:00
Kconfig usb: musb: Fix randconfig build issues for Kconfig options 2014-12-22 10:26:06 -06:00
Makefile usb: musb: add support for JZ4740 usb device controller 2013-12-20 09:53:24 -06:00
musb_am335x.c usb: musb: Fix panic upon musb_am335x module removal 2014-06-27 10:53:06 -05:00
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 usb: musb: remove extern qualifier from musb_debug.h header 2011-12-21 13:21:02 +02:00
musb_debugfs.c usb: musb: Fix a few off-by-one lengths 2014-12-22 10:25:37 -06:00
musb_dma.h usb: musb: introduce dma_channel.rx_packet_done 2014-06-30 14:26:24 -05:00
musb_dsps.c usb: musb: Change end point selection to use new IO access 2014-11-25 08:47:06 -06:00
musb_gadget_ep0.c usb: musb: gadget: read ep0 fifo only if rxcount is non zero 2013-04-02 11:42:50 +03:00
musb_gadget.c usb: musb: gadget: use udc-core's reset notifier 2014-11-10 17:19:34 -06:00
musb_gadget.h usb: musb: add Kconfig options for HOST, GAGDET or DUAL_ROLE modes 2013-05-28 19:22:23 +03:00
musb_host.c usb: musb: stuff leak of struct usb_hcd 2014-12-22 10:36:24 -06:00
musb_host.h usb: musb: fix prototype for musb_port_reset 2013-12-20 15:05:43 -06:00
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 usb: musb: try a race-free wakeup 2014-11-05 13:26:41 -06:00
musbhsdma.c usb: musb: Change end point selection to use new IO access 2014-11-25 08:47:06 -06:00
musbhsdma.h usb: musb: remove generic_interrupt 2012-11-06 15:32:13 +02:00
omap2430.c usb: move the OTG state from the USB PHY to the OTG structure 2014-11-03 10:01:25 -06:00
omap2430.h usb: start using the control module driver 2013-01-25 12:27:24 +02:00
tusb6010_omap.c usb: musb: tusb6010: Use musb->tusb_revision instead of tusb_get_revision call. 2014-05-16 12:16:31 -05:00
tusb6010.c usb: musb: Change end point selection to use new IO access 2014-11-25 08:47:06 -06:00
tusb6010.h usb: musb: tusb6010: Use musb->tusb_revision instead of tusb_get_revision call. 2014-05-16 12:16:31 -05:00
ux500_dma.c usb: musb: Change to use new IO access 2014-11-25 08:47:06 -06:00
ux500.c usb: musb: Pass fifo_mode in platform data 2014-11-25 08:47:07 -06:00