ASoC: remove io_mutex
authorEero Nurkkala <ext-eero.nurkkala@nokia.com>
Fri, 30 Oct 2009 11:34:02 +0000 (13:34 +0200)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Fri, 30 Oct 2009 17:49:12 +0000 (17:49 +0000)
commit8538a119bfb9031c402a33fc65c276ab9bfafdd5
tree8d782ea40c68a433b318ad01aaea0448423dc7b5
parent98078bf90495729e59edbec088d00b9d98f4cc0f
ASoC: remove io_mutex

Remove the io_mutex. It has a drawback of serializing
all accesses to snd_soc_update_bits() even when multiple
codecs are in use. In addition, it fails to actually do
its task - during snd_soc_update_bits(), dapm_update_bits()
may also be accessing the same register which may result in
an outdated register value.

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