]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit1967e0641acbfbedff615afac86cf2bfbc9a8202
treef67cf0776675e6d13918f677acf4757954658e84
parent72f42602f4a229b469919194f989fd3544776bfb
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