]> git.karo-electronics.de Git - karo-tx-linux.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)
committerBen Hutchings <ben@decadent.org.uk>
Thu, 3 Jan 2013 03:33:00 +0000 (03:33 +0000)
commit75387cc29c261fef4fac1a3f85433c8b862870f5
tree9221e0fcebfe18b6c079ac90c27ff1689e73d816
parent3bda29813bdadfcda3513fb9b0d384534ac27dd7
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: Ben Hutchings <ben@decadent.org.uk>
drivers/usb/gadget/f_midi.c