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)
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>

No differences found