diff options
author | Bard Liao <bardliao@realtek.com> | 2016-10-26 03:40:44 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2016-10-28 20:44:40 +0200 |
commit | ca5f17c59b63c3e52f8fad887c27c6eaa5ced81f (patch) | |
tree | 81b8e8f1a2c9f5db13862ae65ee56bed9556752f /sound/soc/codecs/rt5640.h | |
parent | ASoC: rt5640: enable MCLK detection (diff) | |
download | linux-ca5f17c59b63c3e52f8fad887c27c6eaa5ced81f.tar.xz linux-ca5f17c59b63c3e52f8fad887c27c6eaa5ced81f.zip |
ASoC: rt5640: add Mono ADC Capture Switch control
Mono ADC Capture Switch control is missing in the driver. So, add it.
Signed-off-by: Bard Liao <bardliao@realtek.com>
Tested-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.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 | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sound/soc/codecs/rt5640.h b/sound/soc/codecs/rt5640.h index 22c017c58d5b..b8a811732a52 100644 --- a/sound/soc/codecs/rt5640.h +++ b/sound/soc/codecs/rt5640.h @@ -1971,6 +1971,10 @@ #define RT5640_ZCD_HP_EN (0x1 << 15) /* General Control 1 (0xfa) */ +#define RT5640_M_MONO_ADC_L (0x1 << 13) +#define RT5640_M_MONO_ADC_L_SFT 13 +#define RT5640_M_MONO_ADC_R (0x1 << 12) +#define RT5640_M_MONO_ADC_R_SFT 12 #define RT5640_MCLK_DET (0x1 << 11) /* Codec Private Register definition */ |