From: Edgar Date: Wed, 19 Jul 2023 05:47:22 +0000 (+0800) Subject: ASoc: codecs: ES8316: Fix DMIC config X-Git-Tag: v4.14.326~166 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=a7be3507bc8bfb18daddd91c0fcbe1e4860eb3a6;p=thirdparty%2Fkernel%2Fstable.git ASoc: codecs: ES8316: Fix DMIC config [ Upstream commit d20d35d1ad62c6cca36368c1e8f29335a068659e ] According to the datasheet, the DMIC config should be changed to { 0, 2 ,3 } Signed-off-by: Edgar Link: https://lore.kernel.org/r/20230719054722.401954-1-ljijcj@163.com Signed-off-by: Mark Brown Signed-off-by: Sasha Levin --- diff --git a/sound/soc/codecs/es8316.c b/sound/soc/codecs/es8316.c index fad918c44ec97..75a6b8b4e9c09 100644 --- a/sound/soc/codecs/es8316.c +++ b/sound/soc/codecs/es8316.c @@ -145,7 +145,7 @@ static const char * const es8316_dmic_txt[] = { "dmic data at high level", "dmic data at low level", }; -static const unsigned int es8316_dmic_values[] = { 0, 1, 2 }; +static const unsigned int es8316_dmic_values[] = { 0, 2, 3 }; static const struct soc_enum es8316_dmic_src_enum = SOC_VALUE_ENUM_SINGLE(ES8316_ADC_DMIC, 0, 3, ARRAY_SIZE(es8316_dmic_txt),