summaryrefslogtreecommitdiffstats
path: root/sound/usb/usx2y
diff options
context:
space:
mode:
authorKarsten Wiese2005-08-10 11:18:19 +0200
committerJaroslav Kysela2005-08-30 08:44:48 +0200
commit443feb882679e21ba5d1e0ff9eff067ac26d9461 (patch)
treedf831615407843f4c33a16adc9efe841ec70aa46 /sound/usb/usx2y
parent[ALSA] ymfpci: add per-voice volume controls (diff)
downloadkernel-qcow2-linux-443feb882679e21ba5d1e0ff9eff067ac26d9461.tar.gz
kernel-qcow2-linux-443feb882679e21ba5d1e0ff9eff067ac26d9461.tar.xz
kernel-qcow2-linux-443feb882679e21ba5d1e0ff9eff067ac26d9461.zip
[ALSA] ALSA's struct _snd_pcm_substream: Obsolete open_flag
PCM Midlevel,ALSA<-OSS emulation,USB USX2Y This patch removes open_flag from struct _snd_pcm_substream. All of its uses are substituted by querying struct _snd_pcm_substream's member ffile instead. Signed-off-by: Karsten Wiese <annabellesgarden@yahoo.de> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/usb/usx2y')
-rw-r--r--sound/usb/usx2y/usx2yhwdeppcm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/usb/usx2y/usx2yhwdeppcm.c b/sound/usb/usx2y/usx2yhwdeppcm.c
index ef28061287f2..d0199c4e5551 100644
--- 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;
}
}