ASoC: refactor snd_soc_update_bits()
authorEero Nurkkala <ext-eero.nurkkala@nokia.com>
Fri, 30 Oct 2009 11:34:03 +0000 (13:34 +0200)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Fri, 30 Oct 2009 17:49:12 +0000 (17:49 +0000)
commit6c508c62f90240ef58300a5e12093ee769a44364
tree73ae38fea98a5d10e82e70258ccf95fe1064d9ee
parent8538a119bfb9031c402a33fc65c276ab9bfafdd5
ASoC: refactor snd_soc_update_bits()

Introduce a wrapper call snd_soc_update_bits_locked()
that will take the codec mutex. This call is used
when the codec mutex is not already taken.

Drivers calling snd_soc_update_bits() may wish to
make sure the codec mutex is taken from the driver.

Signed-off-by: Eero Nurkkala <ext-eero.nurkkala@nokia.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/soc-core.c