git://ftp.safe.ca
/
safe
/
jmp
/
linux-2.6
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ASoC: add locking to mpc5200-psc-ac97 driver
[safe/jmp/linux-2.6]
/
sound
/
soc
/
fsl
/
mpc5200_dma.c
diff --git
a/sound/soc/fsl/mpc5200_dma.c
b/sound/soc/fsl/mpc5200_dma.c
index
efec33a
..
f0a2d40
100644
(file)
--- a/
sound/soc/fsl/mpc5200_dma.c
+++ b/
sound/soc/fsl/mpc5200_dma.c
@@
-456,6
+456,7
@@
int mpc5200_audio_dma_create(struct of_device *op)
return -ENODEV;
spin_lock_init(&psc_dma->lock);
+ mutex_init(&psc_dma->mutex);
psc_dma->id = be32_to_cpu(*prop);
psc_dma->irq = irq;
psc_dma->psc_regs = regs;