aboutsummaryrefslogtreecommitdiffstats
path: root/sound/usb/usx2y/usx2yhwdeppcm.c
diff options
context:
space:
mode:
authorJeff Garzik <jgarzik@pobox.com>2005-09-05 05:14:25 -0400
committerJeff Garzik <jgarzik@pobox.com>2005-09-05 05:14:25 -0400
commita9053d0494d3c92807701c0f47df61d50c971581 (patch)
tree28cfb17d88d6491c5efd51e00e6937d57b1e81da /sound/usb/usx2y/usx2yhwdeppcm.c
parent4dd9e909e3b834b66fd48d6eac50c6557cc50275 (diff)
parent6b39374a27eb4be7e9d82145ae270ba02ea90dc8 (diff)
downloadkernel_samsung_smdk4412-a9053d0494d3c92807701c0f47df61d50c971581.tar.gz
kernel_samsung_smdk4412-a9053d0494d3c92807701c0f47df61d50c971581.tar.bz2
kernel_samsung_smdk4412-a9053d0494d3c92807701c0f47df61d50c971581.zip
/spare/repo/libata-dev branch 'master'
Diffstat (limited to 'sound/usb/usx2y/usx2yhwdeppcm.c')
-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 ef28061287f..d0199c4e555 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;
}
}