linux/drivers/usb/dwc3
Felipe Balbi d9b4330ade usb: dwc3: core: don't forget to free coherent memory
commit 3921426 (usb: dwc3: core: move
event buffer allocation out of
dwc3_core_init()) introduced a memory leak
of the coherent memory we use as event
buffers on dwc3 driver.

If the driver is compiled as a dynamically
loadable module and use constantly loads
and unloads the driver, we will continue
to leak the coherent memory allocated during
->probe() because dwc3_free_event_buffers()
is never called during ->remove().

Cc: <stable@vger.kernel.org> # v3.7 v3.8
Signed-off-by: Felipe Balbi <balbi@ti.com>
2013-03-04 09:33:22 +02:00
..
core.c usb: dwc3: core: don't forget to free coherent memory 2013-03-04 09:33:22 +02:00
core.h usb: dwc3: remove dwc3 dependency on host AND gadget. 2013-01-18 14:55:55 +02:00
debug.h usb: dwc: remove "All rights reserved" statement. 2011-10-04 10:25:52 -07:00
debugfs.c usb: dwc3: remove dwc3 dependency on host AND gadget. 2013-01-18 14:55:55 +02:00
dwc3-exynos.c usb: dwc3: exynos/omap: Change platform device IDs for no_op_xceive to AUTO 2013-01-25 13:19:50 +02:00
dwc3-omap.c usb: dwc3: exynos/omap: Change platform device IDs for no_op_xceive to AUTO 2013-01-25 13:19:50 +02:00
dwc3-pci.c usb: remove use of __devexit 2012-11-21 13:27:17 -08:00
ep0.c Merge 3.6-rc6 into usb-next 2012-09-16 20:42:46 -07:00
gadget.c Merge 3.8-rc5 into usb-next 2013-01-25 12:41:02 -08:00
gadget.h usb: dwc3: correct set_halt implementation for ep0 2012-07-02 10:02:07 +03:00
host.c usb: dwc3: host: Change platform device ID for xhci-hcd to AUTO 2013-01-25 13:19:52 +02:00
io.h usb: dwc3: core: split host address space 2012-04-24 15:37:04 +03:00
Kconfig drivers/usb: add missing GENERIC_HARDIRQS dependencies 2013-02-08 12:16:12 -08:00
Makefile usb: dwc3: remove dwc3 dependency on host AND gadget. 2013-01-18 14:55:55 +02:00