diff options
author | Takashi Sakamoto <o-takashi@sakamocchi.jp> | 2016-02-24 09:26:33 +0900 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2016-02-24 16:32:08 +0100 |
commit | 956dea9e911253e34fa1773da07a6c4044e20817 (patch) | |
tree | 925226fb8a2ecaccc34f8b1125e76281cbff3ce2 /sound/pci/hda | |
parent | b4c23ab1cbfedbebf9f7eecd1bd8a7989f388649 (diff) | |
download | linux-956dea9e911253e34fa1773da07a6c4044e20817.tar.bz2 |
ALSA: oxfw: discontinue MIDI substream for scs1x at transaction failure
With a previous commit, ALSA oxfw driver retries transferring MIDI
messages at transaction failure for scs1x. On the other hand, there're
fatal transaction error. Then, no MIDI messages reach to the unit anymore.
In this case, MIDI substream should be terminated.
This commit stops MIDI transmission after the fatal error occurs.
Unfortunately, unlike ALSA PCM functionality, ALSA rawmidi core has no
feature to discontinue MIDI substream runtime in kernel side, thus this
commit just stops MIDI transmission without notifying it to userspace.
Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/hda')
0 files changed, 0 insertions, 0 deletions