summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/saa7134
diff options
context:
space:
mode:
authorRicardo Cerqueira <devnull@localhost>2005-11-09 19:07:31 +0000
committerRicardo Cerqueira <devnull@localhost>2005-11-09 19:07:31 +0000
commit2efac4817c61b073e7786a2b34df3dee61629e05 (patch)
tree8a85320d2a9fd1906ecc6925c80499a9809c79b5 /linux/drivers/media/video/saa7134
parent32b0622d01496858667d121e02d393e84aa68abd (diff)
downloadmediapointer-dvb-s2-2efac4817c61b073e7786a2b34df3dee61629e05.tar.gz
mediapointer-dvb-s2-2efac4817c61b073e7786a2b34df3dee61629e05.tar.bz2
Fixed saa7134-alsa spinlock bug
From: Signed-off-by:
Diffstat (limited to 'linux/drivers/media/video/saa7134')
-rw-r--r--linux/drivers/media/video/saa7134/saa7134-alsa.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/linux/drivers/media/video/saa7134/saa7134-alsa.c b/linux/drivers/media/video/saa7134/saa7134-alsa.c
index 102e9ab19..f16495e71 100644
--- a/linux/drivers/media/video/saa7134/saa7134-alsa.c
+++ b/linux/drivers/media/video/saa7134/saa7134-alsa.c
@@ -1,7 +1,7 @@
/*
* SAA713x ALSA support for V4L
*
- * $Id: saa7134-alsa.c,v 1.24 2005/11/09 18:30:51 mchehab Exp $
+ * $Id: saa7134-alsa.c,v 1.25 2005/11/09 19:07:31 rmcc Exp $
*
* Caveats:
* - Volume doesn't work (it's always at max)
@@ -977,6 +977,8 @@ int alsa_card_saa7134_create(struct saa7134_dev *dev, int devnum)
goto __nodev;
}
+ init_MUTEX(&dev->dmasound.lock);
+
if ((err = snd_device_new(card, SNDRV_DEV_LOWLEVEL, chip, &ops)) < 0) {
goto __nodev;
}