ASoC: add locking to mpc5200-psc-ac97 driver
authorGrant Likely <grant.likely@secretlab.ca>
Thu, 2 Jul 2009 17:57:25 +0000 (11:57 -0600)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Fri, 3 Jul 2009 09:41:47 +0000 (10:41 +0100)
commit0827d6ba0b76be398a3c4298afd41f4965d2cdcb
treee0346a66b752b89381103ee50008d532d207262e
parent07573534b0b030226ee5ab560e53aac7e6c0dd84
ASoC: add locking to mpc5200-psc-ac97 driver

AC97 bus register read/write hooks need to provide locking, but the
mpc5200-psc-ac97 driver does not.  This patch adds a mutex around
the register access routines.

Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Acked-by: Jon Smirl <jonsmirl@gmail.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/fsl/mpc5200_dma.c
sound/soc/fsl/mpc5200_dma.h
sound/soc/fsl/mpc5200_psc_ac97.c