forked from Minki/linux
ASoC: sun8i-codec: Fix ADC_DIG_CTRL field name
This is the enable bit for the "AD"C, not the "DA"C. Acked-by: Chen-Yu Tsai <wens@csie.org> Signed-off-by: Samuel Holland <samuel@sholland.org> Link: https://lore.kernel.org/r/20200831034852.18841-6-samuel@sholland.org Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
parent
0ba9549302
commit
30aff91ec7
@ -64,7 +64,7 @@
|
||||
#define SUN8I_AIF1_MXR_SRC_AD0R_MXR_SRC_ADCR 9
|
||||
#define SUN8I_AIF1_MXR_SRC_AD0R_MXR_SRC_AIF2DACL 8
|
||||
#define SUN8I_ADC_DIG_CTRL 0x100
|
||||
#define SUN8I_ADC_DIG_CTRL_ENDA 15
|
||||
#define SUN8I_ADC_DIG_CTRL_ENAD 15
|
||||
#define SUN8I_ADC_DIG_CTRL_ADOUT_DTS 2
|
||||
#define SUN8I_ADC_DIG_CTRL_ADOUT_DLY 1
|
||||
#define SUN8I_DAC_DIG_CTRL 0x120
|
||||
@ -393,7 +393,7 @@ static const struct snd_soc_dapm_widget sun8i_codec_dapm_widgets[] = {
|
||||
/* Digital parts of the DACs and ADC */
|
||||
SND_SOC_DAPM_SUPPLY("DAC", SUN8I_DAC_DIG_CTRL, SUN8I_DAC_DIG_CTRL_ENDA,
|
||||
0, NULL, 0),
|
||||
SND_SOC_DAPM_SUPPLY("ADC", SUN8I_ADC_DIG_CTRL, SUN8I_ADC_DIG_CTRL_ENDA,
|
||||
SND_SOC_DAPM_SUPPLY("ADC", SUN8I_ADC_DIG_CTRL, SUN8I_ADC_DIG_CTRL_ENAD,
|
||||
0, NULL, 0),
|
||||
|
||||
/* AIF "DAC" Inputs */
|
||||
|
Loading…
Reference in New Issue
Block a user