summaryrefslogtreecommitdiffstats
path: root/sound
diff options
context:
space:
mode:
authoroder_chiou@realtek.com <oder_chiou@realtek.com>2017-07-18 10:12:58 +0800
committerMark Brown <broonie@kernel.org>2017-07-18 14:27:36 +0100
commitd26ed933581d924937aa92251afe1751cf86661c (patch)
treee7f771b9e3b0a22016fb49f375628703608e38d1 /sound
parent6ccf3a6d031c47d6319cb56ee35dd4b546905e91 (diff)
downloadop-kernel-dev-d26ed933581d924937aa92251afe1751cf86661c.zip
op-kernel-dev-d26ed933581d924937aa92251afe1751cf86661c.tar.gz
ASoC: rt5663: Modify the default value for ASRC function
The patch modifies the default value for ASRC function. It could prevent the pop noise and recording no sound with ASRC function. Signed-off-by: Oder Chiou <oder_chiou@realtek.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound')
-rw-r--r--sound/soc/codecs/rt5663.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sound/soc/codecs/rt5663.c b/sound/soc/codecs/rt5663.c
index 71c073c..d3f7bc2 100644
--- a/sound/soc/codecs/rt5663.c
+++ b/sound/soc/codecs/rt5663.c
@@ -60,6 +60,7 @@ struct rt5663_priv {
static const struct reg_sequence rt5663_patch_list[] = {
{ 0x002a, 0x8080 },
+ { 0x0086, 0x0028 },
};
static const struct reg_default rt5663_v2_reg[] = {
@@ -509,7 +510,7 @@ static const struct reg_default rt5663_reg[] = {
{ 0x0082, 0x0000 },
{ 0x0083, 0x0000 },
{ 0x0084, 0x0000 },
- { 0x0086, 0x0008 },
+ { 0x0086, 0x0028 },
{ 0x0087, 0x0000 },
{ 0x008a, 0x0000 },
{ 0x008b, 0x0000 },
OpenPOWER on IntegriCloud