commit | f8ca46aeb7b422b8c22e286e25269e4fefc560bd | [log] [tgz] |
---|---|---|
author | Felipe F. Tonello <eu@felipetonello.com> | Mon Aug 08 21:30:10 2016 +0100 |
committer | Felipe Balbi <felipe.balbi@linux.intel.com> | Thu Aug 25 12:13:15 2016 +0300 |
tree | f94bccaf6223c8255ac00919c9700032686ea18d | |
parent | f42ab18cc8aed6b5a3532c468f99285de9eabab5 [diff] |
usb: gadget: f_midi: drop substreams when disabling endpoint This change makes sure that the ALSA buffers are cleaned if an endpoint becomes disabled. Before this change, if the internal ALSA buffer did overflow, the MIDI function would stop sending MIDI to the host. Signed-off-by: Felipe F. Tonello <eu@felipetonello.com> Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>