projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
91159ec
)
ASoC: rt5677: Modify the default value of the MX-8E[4] for ASRC function
author
Oder Chiou
<oder_chiou@realtek.com>
Mon, 17 Nov 2014 02:18:11 +0000
(10:18 +0800)
committer
Mark Brown
<broonie@kernel.org>
Mon, 17 Nov 2014 23:29:31 +0000
(23:29 +0000)
Modify the default value of the MX-8E[4] to 1 for ASRC function. It could
prevent the pop noise with ASRC function.
Signed-off-by: Oder Chiou <oder_chiou@realtek.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/rt5677.c
patch
|
blob
|
blame
|
history
diff --git
a/sound/soc/codecs/rt5677.c
b/sound/soc/codecs/rt5677.c
index 5d317c68ca4ef0455961857f6bc20cad595d36e6..9ae2e8468006ee994a80ab406c113eff2f23d746 100644
(file)
--- a/
sound/soc/codecs/rt5677.c
+++ b/
sound/soc/codecs/rt5677.c
@@
-55,7
+55,8
@@
static const struct regmap_range_cfg rt5677_ranges[] = {
};
static const struct reg_default init_list[] = {
- {RT5677_PR_BASE + 0x3d, 0x364d},
+ {RT5677_ASRC_12, 0x0018},
+ {RT5677_PR_BASE + 0x3d, 0x364d},
{RT5677_PR_BASE + 0x17, 0x4fc0},
{RT5677_PR_BASE + 0x13, 0x0312},
{RT5677_PR_BASE + 0x1e, 0x0000},
@@
-173,7
+174,7
@@
static const struct reg_default rt5677_reg[] = {
{RT5677_ASRC_9 , 0x0000},
{RT5677_ASRC_10 , 0x0000},
{RT5677_ASRC_11 , 0x0000},
- {RT5677_ASRC_12 , 0x00
0
8},
+ {RT5677_ASRC_12 , 0x00
1
8},
{RT5677_ASRC_13 , 0x0000},
{RT5677_ASRC_14 , 0x0000},
{RT5677_ASRC_15 , 0x0000},