Files
linux/drivers
Sebastian Andrzej Siewior 0d2dd7eaed usb: musb: core: properly free host / device structs in err path
The patch fixes two issues in the error path cleanup:
- in MUSB_PORT_MODE_DUAL_ROLE mode, if musb_gadget_setup() fails we
  never cleanup the host struct earlier allocated.
- if musb_init_debugfs() or sysfs_create_group() fails, then we never
  free the host part initialization, only device part.

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>
2013-10-17 11:30:33 -05:00
..
…
…
…
2013-09-13 15:09:52 +02:00
…
…
2013-09-13 15:09:52 +02:00
…
2013-09-28 16:32:12 +02:00
…
2013-09-13 15:09:52 +02:00
2013-09-13 15:09:52 +02:00
…
2013-09-13 15:09:52 +02:00
…
…
2013-09-11 15:59:15 -07:00
…
…
…
…
2013-09-13 15:09:52 +02:00
…
…
…
2013-09-04 11:28:04 -06:00
2013-09-17 22:56:09 +03:00
2013-09-26 15:33:23 +03:00
…
…
2013-09-13 15:09:52 +02:00
…
…