diff options
author | Bard Liao <bardliao@realtek.com> | 2016-10-17 19:27:16 +0800 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2016-10-24 18:31:38 +0100 |
commit | a5d93da13c8671f6453ae273cbf1d5c61b897a33 (patch) | |
tree | 6c9b37cffdc34a3d754327b491f922cf8a163951 /sound/soc/codecs/rt5670.h | |
parent | 1001354ca34179f3db924eb66672442a173147dc (diff) |
ASoC: rt5670: Enable MCLK detection
There is a power saving mechanism in rt5670. It will turn off some
unused power when MCLK is not present. We call that "MCLK detection"
and it should be enabled by default.
Signed-off-by: Bard Liao <bardliao@realtek.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/codecs/rt5670.h')
-rw-r--r-- | sound/soc/codecs/rt5670.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/codecs/rt5670.h b/sound/soc/codecs/rt5670.h index 3f1b0f1df809..5ba485cae4e6 100644 --- a/sound/soc/codecs/rt5670.h +++ b/sound/soc/codecs/rt5670.h @@ -1914,6 +1914,7 @@ enum { #define RT5670_IF1_ADC1_IN2_SFT 11 #define RT5670_IF1_ADC2_IN1_SEL (0x1 << 10) #define RT5670_IF1_ADC2_IN1_SFT 10 +#define RT5670_MCLK_DET (0x1 << 3) /* General Control2 (0xfb) */ #define RT5670_RXDC_SRC_MASK (0x1 << 7) |