diff options
author | John Hsu <KCHSU0@nuvoton.com> | 2016-03-22 11:57:20 +0800 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2016-05-30 16:17:44 +0100 |
commit | eeef16acf85c2ebce695fb559627d0300396511e (patch) | |
tree | 4254f20a1f49f182bf045f4f8dfd5ce8b9caa0ca /sound/soc/codecs/nau8825.h | |
parent | 3a56103534cd4f700274224f4c249eafa74daa4b (diff) | |
download | linux-eeef16acf85c2ebce695fb559627d0300396511e.tar.bz2 |
ASoC: nau8825: change output power for interrupt
The interrupt clock is gated by x1[10:8], one of them needs to be enabled
all the time for interrupts to happen. We change codec to enable ADC
because it's helpful to reduce playback pop noise.
Don't use force enable pin to enable ADC instead of ADC widget event.
That won't interfere DAPM operation and let bias work normally.
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 | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/codecs/nau8825.h b/sound/soc/codecs/nau8825.h index 5fe009dcfb3d..4427df99de24 100644 --- a/sound/soc/codecs/nau8825.h +++ b/sound/soc/codecs/nau8825.h @@ -99,6 +99,7 @@ #define NAU8825_ENABLE_DACR (1 << NAU8825_ENABLE_DACR_SFT) #define NAU8825_ENABLE_DACL_SFT 9 #define NAU8825_ENABLE_ADC_SFT 8 +#define NAU8825_ENABLE_ADC (1 << NAU8825_ENABLE_ADC_SFT) #define NAU8825_ENABLE_SAR_SFT 1 /* CLK_DIVIDER (0x3) */ |