usb: gadget: uac2: add some error recovery in afunc_bind()
authorSebastian Andrzej Siewior <bigeasy@linutronix.de>
Mon, 22 Oct 2012 20:14:59 +0000 (22:14 +0200)
committerFelipe Balbi <balbi@ti.com>
Wed, 31 Oct 2012 13:03:27 +0000 (15:03 +0200)
In case something goes wrong here, don't leak memory / endpoints.

Acked-by: Jassi Brar <jassisinghbrar@gmail.com>
Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Signed-off-by: Felipe Balbi <balbi@ti.com>

No differences found