diff --git a/[refs] b/[refs] index f8fd8b86dfa6..720ff033d4d3 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 8579d2d7779d7ff41ea2a0183015e0e5038f1043 +refs/heads/master: 16fb109644b5644e42ececeff644514de6f4bd03 diff --git a/trunk/sound/core/rawmidi.c b/trunk/sound/core/rawmidi.c index 3071e6f5801e..091405385e15 100644 --- a/trunk/sound/core/rawmidi.c +++ b/trunk/sound/core/rawmidi.c @@ -248,7 +248,8 @@ static int assign_substream(struct snd_rawmidi *rmidi, int subdevice, list_for_each_entry(substream, &s->substreams, list) { if (substream->opened) { if (stream == SNDRV_RAWMIDI_STREAM_INPUT || - !(mode & SNDRV_RAWMIDI_LFLG_APPEND)) + !(mode & SNDRV_RAWMIDI_LFLG_APPEND) || + !substream->append) continue; } if (subdevice < 0 || subdevice == substream->number) {