diff options
| -rw-r--r-- | sound/soc/codecs/rt5640.c | 2 | ||||
| -rw-r--r-- | sound/soc/codecs/rt5640.h | 4 |
2 files changed, 6 insertions, 0 deletions
diff --git a/sound/soc/codecs/rt5640.c b/sound/soc/codecs/rt5640.c index 0a7378f81acb..e29a6defefa0 100644 --- a/sound/soc/codecs/rt5640.c +++ b/sound/soc/codecs/rt5640.c | |||
| @@ -423,6 +423,8 @@ static const struct snd_kcontrol_new rt5640_snd_controls[] = { | |||
| 423 | SOC_DOUBLE_TLV("ADC Capture Volume", RT5640_ADC_DIG_VOL, | 423 | SOC_DOUBLE_TLV("ADC Capture Volume", RT5640_ADC_DIG_VOL, |
| 424 | RT5640_L_VOL_SFT, RT5640_R_VOL_SFT, | 424 | RT5640_L_VOL_SFT, RT5640_R_VOL_SFT, |
| 425 | 127, 0, adc_vol_tlv), | 425 | 127, 0, adc_vol_tlv), |
| 426 | SOC_DOUBLE("Mono ADC Capture Switch", RT5640_DUMMY1, | ||
| 427 | RT5640_M_MONO_ADC_L_SFT, RT5640_M_MONO_ADC_R_SFT, 1, 1), | ||
| 426 | SOC_DOUBLE_TLV("Mono ADC Capture Volume", RT5640_ADC_DATA, | 428 | SOC_DOUBLE_TLV("Mono ADC Capture Volume", RT5640_ADC_DATA, |
| 427 | RT5640_L_VOL_SFT, RT5640_R_VOL_SFT, | 429 | RT5640_L_VOL_SFT, RT5640_R_VOL_SFT, |
| 428 | 127, 0, adc_vol_tlv), | 430 | 127, 0, adc_vol_tlv), |
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 @@ | |||
| 1971 | #define RT5640_ZCD_HP_EN (0x1 << 15) | 1971 | #define RT5640_ZCD_HP_EN (0x1 << 15) |
| 1972 | 1972 | ||
| 1973 | /* General Control 1 (0xfa) */ | 1973 | /* General Control 1 (0xfa) */ |
| 1974 | #define RT5640_M_MONO_ADC_L (0x1 << 13) | ||
| 1975 | #define RT5640_M_MONO_ADC_L_SFT 13 | ||
| 1976 | #define RT5640_M_MONO_ADC_R (0x1 << 12) | ||
| 1977 | #define RT5640_M_MONO_ADC_R_SFT 12 | ||
| 1974 | #define RT5640_MCLK_DET (0x1 << 11) | 1978 | #define RT5640_MCLK_DET (0x1 << 11) |
| 1975 | 1979 | ||
| 1976 | /* Codec Private Register definition */ | 1980 | /* Codec Private Register definition */ |
