]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: nau8825: disable sinc filter for high THD of ADC
authorJohn Hsu <KCHSU0@nuvoton.com>
Fri, 2 Dec 2016 01:48:58 +0000 (09:48 +0800)
committerMark Brown <broonie@kernel.org>
Tue, 6 Dec 2016 14:35:13 +0000 (14:35 +0000)
commit575169ae4340428254246a127f3a11aad7bd242d
tree2e3436a473477e670ea9cfdefb91dcbf5b222538
parentdf8ba3129a5bb42e1ff8df09750fa31a2bdcc9c9
ASoC: nau8825: disable sinc filter for high THD of ADC

This bit will enable 4th order SINC filter.
=1, filter will enable;  but it consumes higher power.
=0, the sinc filter is disable, and it should always keep 0 value to
get high THD.

Therefor, disable the filter when codec initiation for better
performance when recording.

Signed-off-by: John Hsu <KCHSU0@nuvoton.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/nau8825.c
sound/soc/codecs/nau8825.h