Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 168533
b: refs/heads/master
c: 16fb109
h: refs/heads/master
i:
  168531: 9ba6718
v: v3
  • Loading branch information
Clemens Ladisch authored and Takashi Iwai committed Nov 10, 2009
1 parent 48b3f1a commit e028969
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 8579d2d7779d7ff41ea2a0183015e0e5038f1043
refs/heads/master: 16fb109644b5644e42ececeff644514de6f4bd03
3 changes: 2 additions & 1 deletion trunk/sound/core/rawmidi.c
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit e028969

Please sign in to comment.