ASoC: Skip noop reconfiguration of WM8958 DSP2 algorithms
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Mon, 16 May 2011 01:02:53 +0000 (18:02 -0700)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Mon, 16 May 2011 15:55:20 +0000 (08:55 -0700)
commitd7fdae7c6533b9a409158c736781cdd352b76793
treef67cf0776675e6d13918f677acf4757954658e84
parentfb5af53d421d80725172427e9076f6e889603df6
ASoC: Skip noop reconfiguration of WM8958 DSP2 algorithms

If we're setting the currently applied value for one of the DSP algorithm
configurations we can just skip all the handling as the control set is a
noop. This ensures we do not disrupt a running DSP.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Acked-by: Liam Girdwood <lrg@ti.com>
Cc: stable@kernel.org
sound/soc/codecs/wm8958-dsp2.c