linux/sound/firewire/oxfw
Takashi Sakamoto 956dea9e91 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>
2016-02-24 16:32:08 +01:00
..
Makefile ALSA: oxfw: add scs1x layer 2015-12-22 11:51:27 +01:00
oxfw-command.c
oxfw-hwdep.c
oxfw-midi.c ALSA: oxfw: calculating MIDI ports in stream discover 2015-10-19 12:00:47 +02:00
oxfw-pcm.c
oxfw-proc.c
oxfw-scs1x.c ALSA: oxfw: discontinue MIDI substream for scs1x at transaction failure 2016-02-24 16:32:08 +01:00
oxfw-spkr.c ALSA: oxfw: move model-specific parameters from common structure 2015-12-22 11:50:31 +01:00
oxfw-stream.c ALSA: oxfw: support more MIDI ports 2015-10-19 12:01:07 +02:00
oxfw.c ALSA: oxfw: add stream format quirk for SCS.1 models 2015-12-22 11:51:32 +01:00
oxfw.h ALSA: oxfw: allocate own address region for SCS.1 series 2015-12-22 11:51:28 +01:00