Code Review
/
linux-3.10.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
[ALSA] ALSA's struct _snd_pcm_substream: Obsolete open_flag
[linux-3.10.git]
/
sound
/
usb
/
usx2y
/
usx2yhwdeppcm.c
diff --git
a/sound/usb/usx2y/usx2yhwdeppcm.c
b/sound/usb/usx2y/usx2yhwdeppcm.c
index ef28061287f200c7a6c07d0f841443c9b3388eec..d0199c4e55514dad367e3c51d7b1543180392f40 100644
(file)
--- a/
sound/usb/usx2y/usx2yhwdeppcm.c
+++ b/
sound/usb/usx2y/usx2yhwdeppcm.c
@@
-624,7
+624,7
@@
static int usX2Y_pcms_lock_check(snd_card_t *card)
for (s = 0; s < 2; ++s) {
snd_pcm_substream_t *substream;
substream = pcm->streams[s].substream;
- if (substream && substream->
open_flag
)
+ if (substream && substream->
ffile != NULL
)
err = -EBUSY;
}
}