diff options
author | Bard Liao <bardliao@realtek.com> | 2016-10-17 14:14:04 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2016-10-24 20:31:23 +0300 |
commit | 25fb7062484a219174baab0761e06bbfd8fa3b07 (patch) | |
tree | 2a0a278fce1a8ef09865fa5d17a38a230b9920f6 /sound/soc/codecs/rt5640.h | |
parent | 1001354ca34179f3db924eb66672442a173147dc (diff) | |
download | linux-25fb7062484a219174baab0761e06bbfd8fa3b07.tar.xz |
ASoC: rt5640: enable MCLK detection
There is a power saving mechanism in rt5640. 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/rt5640.h')
-rw-r--r-- | sound/soc/codecs/rt5640.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sound/soc/codecs/rt5640.h b/sound/soc/codecs/rt5640.h index 90c88711c72a..22c017c58d5b 100644 --- a/sound/soc/codecs/rt5640.h +++ b/sound/soc/codecs/rt5640.h @@ -1970,6 +1970,8 @@ #define RT5640_ZCD_HP_DIS (0x0 << 15) #define RT5640_ZCD_HP_EN (0x1 << 15) +/* General Control 1 (0xfa) */ +#define RT5640_MCLK_DET (0x1 << 11) /* Codec Private Register definition */ /* 3D Speaker Control (0x63) */ |