]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
usb: gadget: midi: free hs descriptors
authorSebastian Andrzej Siewior <bigeasy@linutronix.de>
Mon, 22 Oct 2012 20:15:02 +0000 (22:15 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 11 Jan 2013 17:06:53 +0000 (09:06 -0800)
commit9784404f31f7001186c5fc1f8e4a3c8091711dfa
treed3e5daf986a77a32863175aac5979314c779872b
parent44c818b94f8b3d3ad173ef9556414944e6da6efb
usb: gadget: midi: free hs descriptors

commit d185039f7982eb82cf8d03b6fb6689587ca5af24 upstream.

The HS descriptors are only created if HS is supported by the UDC but we
never free them.

Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Signed-off-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/gadget/f_midi.c