diff options
author | John Hsu <KCHSU0@nuvoton.com> | 2016-12-02 09:48:58 +0800 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2016-12-06 14:35:13 +0000 |
commit | 5f1516d52f9287a94dc3b9d57c370ed01802a911 (patch) | |
tree | 2e3436a473477e670ea9cfdefb91dcbf5b222538 /sound/soc/codecs/nau8825.h | |
parent | 2263fddcd0ba9d8e75a90b1359f92d3b9d0b78b3 (diff) | |
download | blackbird-op-linux-5f1516d52f9287a94dc3b9d57c370ed01802a911.tar.gz blackbird-op-linux-5f1516d52f9287a94dc3b9d57c370ed01802a911.zip |
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>
Diffstat (limited to 'sound/soc/codecs/nau8825.h')
-rw-r--r-- | sound/soc/codecs/nau8825.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sound/soc/codecs/nau8825.h b/sound/soc/codecs/nau8825.h index 0672a25617b9..5d1704e73241 100644 --- a/sound/soc/codecs/nau8825.h +++ b/sound/soc/codecs/nau8825.h @@ -269,6 +269,8 @@ #define NAU8825_BIQ_PATH_DAC (1 << NAU8825_BIQ_PATH_SFT) /* ADC_RATE (0x2b) */ +#define NAU8825_ADC_SINC4_SFT 4 +#define NAU8825_ADC_SINC4_EN (1 << NAU8825_ADC_SINC4_SFT) #define NAU8825_ADC_SYNC_DOWN_SFT 0 #define NAU8825_ADC_SYNC_DOWN_MASK 0x3 #define NAU8825_ADC_SYNC_DOWN_32 0 |