diff options
author | Stefan Sauer <st_kost@gmx.de> | 2022-01-06 13:41:45 +0100 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2022-01-06 16:08:07 +0100 |
commit | 7560ee032b3f87fa5c4f03e99a064c6cd326951e (patch) | |
tree | 17bdba5018a5731faecc565b2bebc39cbf312273 /drivers/hsi | |
parent | b81e9e5c723de936652653241d3dc4f33ae05e8c (diff) | |
download | linux-7560ee032b3f87fa5c4f03e99a064c6cd326951e.tar.bz2 |
ALSA: seq: virmidi: Add a drain operation
If a driver does not supply a drain operation for outputs, a default code
path will execute msleep(50). Especially for a virtual midi device
this severely limmits the throughput.
This implementation for the virtual midi driver simply flushes the output
workqueue.
Signed-off-by: Stefan Sauer <st_kost@gmx.de>
Link: https://lore.kernel.org/r/20220106124145.17254-1-st_kost@gmx.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'drivers/hsi')
0 files changed, 0 insertions, 0 deletions