ASoC: arizona: Implement stability check for LHPF coefficients
commit5f8e671a49e1d608fcf52c8944ea7818cd4c99a9
authorCharles Keepax <ckeepax@opensource.wolfsonmicro.com>
Thu, 25 Jun 2015 08:35:12 +0000 (25 09:35 +0100)
committerMark Brown <broonie@kernel.org>
Tue, 7 Jul 2015 12:15:12 +0000 (7 13:15 +0100)
tree8802ff671911422dd7866a21d5ebe56b900eac5d
parentc05d9a8c7f55a901d9e8ec2a5f0730137bbfea4a
ASoC: arizona: Implement stability check for LHPF coefficients

Specifying unstable coefficients for the low/high pass filters can have
a severe impact on the audio. This patchs adds a stability check on the
coefficients written to the low/high pass filter block to prevent this.

Signed-off-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/arizona.c
sound/soc/codecs/arizona.h
sound/soc/codecs/wm5102.c
sound/soc/codecs/wm5110.c
sound/soc/codecs/wm8997.c