summaryrefslogtreecommitdiff
path: root/drivers/usb/dwc3/core.c
diff options
context:
space:
mode:
authorFelipe F. Tonello <eu@felipetonello.com>2016-08-08 21:30:10 +0100
committerFelipe Balbi <felipe.balbi@linux.intel.com>2016-08-25 12:13:15 +0300
commitf8ca46aeb7b422b8c22e286e25269e4fefc560bd (patch)
treef94bccaf6223c8255ac00919c9700032686ea18d /drivers/usb/dwc3/core.c
parentf42ab18cc8aed6b5a3532c468f99285de9eabab5 (diff)
downloadlinux-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