summaryrefslogtreecommitdiffstats
path: root/sound
diff options
context:
space:
mode:
authorEdgar <ljijcj@163.com>2023-07-19 13:47:22 +0800
committerMark Brown <broonie@kernel.org>2023-07-25 12:09:56 +0100
commitd20d35d1ad62c6cca36368c1e8f29335a068659e (patch)
tree13320042ec9718db0040d52a74d441530fba7829 /sound
parent02fb23d72720df2b6be3f29fc5787ca018eb92c3 (diff)
downloadlinux-stable-d20d35d1ad62c6cca36368c1e8f29335a068659e.tar.gz
linux-stable-d20d35d1ad62c6cca36368c1e8f29335a068659e.tar.bz2
linux-stable-d20d35d1ad62c6cca36368c1e8f29335a068659e.zip
ASoc: codecs: ES8316: Fix DMIC config
According to the datasheet, the DMIC config should be changed to { 0, 2 ,3 } Signed-off-by: Edgar <ljijcj@163.com> Link: https://lore.kernel.org/r/20230719054722.401954-1-ljijcj@163.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound')
-rw-r--r--sound/soc/codecs/es8316.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/codecs/es8316.c b/sound/soc/codecs/es8316.c
index 34cf60769b62..65e497b455d3 100644
--- a/sound/soc/codecs/es8316.c
+++ b/sound/soc/codecs/es8316.c
@@ -153,7 +153,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),