projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
02fb23d
)
ASoc: codecs: ES8316: Fix DMIC config
author
Edgar
<ljijcj@163.com>
Wed, 19 Jul 2023 05:47:22 +0000
(13:47 +0800)
committer
Mark Brown
<broonie@kernel.org>
Tue, 25 Jul 2023 11:09:56 +0000
(12:09 +0100)
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>
sound/soc/codecs/es8316.c
patch
|
blob
|
history
diff --git
a/sound/soc/codecs/es8316.c
b/sound/soc/codecs/es8316.c
index 34cf60769b62e19bac7d2cddc2cbcf50a59fdc97..65e497b455d34a003af1c9043fa4c25ed4876829 100644
(file)
--- 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),