linux/drivers/usb/dwc3
David Cohen e1f804676a usb: dwc3: gadget: avoid memory leak when failing to allocate all eps
If dwc3_gadget_init_endpoint() fails after allocate some of the eps, we
need to free their memory to avoid leak.

Signed-off-by: David Cohen <david.a.cohen@linux.intel.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
2013-09-17 11:05:01 -05:00
..
core.c usb: dwc3: Remove duplicate inclusion of otg.h 2013-08-27 15:02:33 -05:00
core.h usb: dwc3: fix typo in comment of dwc3_ep 2013-07-29 13:57:01 +03:00
debug.h usb: dwc3: switch to GPL v2 only 2013-07-29 13:56:44 +03:00
debugfs.c usb: dwc3: switch to GPL v2 only 2013-07-29 13:56:44 +03:00
dwc3-exynos.c Merge branch 'nop-phy-rename' into next 2013-08-09 17:31:23 +03:00
dwc3-omap.c Char/Misc patches for 3.12-rc1 2013-09-03 11:36:27 -07:00
dwc3-pci.c usb: dwc3: pci: add support for BayTrail 2013-09-17 10:54:54 -05:00
ep0.c usb: dwc3: ep0: don't change to configured state too early 2013-07-29 13:57:04 +03:00
gadget.c usb: dwc3: gadget: avoid memory leak when failing to allocate all eps 2013-09-17 11:05:01 -05:00
gadget.h usb: dwc3: switch to GPL v2 only 2013-07-29 13:56:44 +03:00
host.c usb: dwc3: switch to GPL v2 only 2013-07-29 13:56:44 +03:00
io.h usb: dwc3: switch to GPL v2 only 2013-07-29 13:56:44 +03:00
Kconfig usb: dwc3: remove extcon dependency 2013-09-17 11:04:03 -05:00
Makefile usb: dwc3: make glue layers selectable 2013-07-29 13:53:25 +03:00
platform_data.h usb: dwc3: adapt to use dr_mode device tree helper 2013-07-29 13:56:51 +03:00