diff options
author | Felipe F. Tonello <eu@felipetonello.com> | 2016-08-08 21:30:10 +0100 |
---|---|---|
committer | Felipe Balbi <felipe.balbi@linux.intel.com> | 2016-08-25 12:13:15 +0300 |
commit | f8ca46aeb7b422b8c22e286e25269e4fefc560bd (patch) | |
tree | f94bccaf6223c8255ac00919c9700032686ea18d /drivers/usb/dwc3/core.c | |
parent | f42ab18cc8aed6b5a3532c468f99285de9eabab5 (diff) | |
download | linux-f8ca46aeb7b422b8c22e286e25269e4fefc560bd.tar.gz linux-f8ca46aeb7b422b8c22e286e25269e4fefc560bd.tar.xz |
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>
Diffstat (limited to 'drivers/usb/dwc3/core.c')
0 files changed, 0 insertions, 0 deletions