* [PATCH] ASoC: rt5677: Modify the default value of the MX-8E[4] for ASRC function
@ 2014-11-17 2:18 Oder Chiou
2014-11-17 23:29 ` Mark Brown
0 siblings, 1 reply; 2+ messages in thread
From: Oder Chiou @ 2014-11-17 2:18 UTC (permalink / raw)
To: broonie, lgirdwood; +Cc: oder_chiou, alsa-devel, benzh, anatol, bardliao, flove
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>
---
sound/soc/codecs/rt5677.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/sound/soc/codecs/rt5677.c b/sound/soc/codecs/rt5677.c
index d659237..49ac9ba 100644
--- 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 , 0x0008},
+ {RT5677_ASRC_12 , 0x0018},
{RT5677_ASRC_13 , 0x0000},
{RT5677_ASRC_14 , 0x0000},
{RT5677_ASRC_15 , 0x0000},
--
1.8.1.1.439.g50a6b54
^ permalink raw reply related [flat|nested] 2+ messages in thread* Re: [PATCH] ASoC: rt5677: Modify the default value of the MX-8E[4] for ASRC function
2014-11-17 2:18 [PATCH] ASoC: rt5677: Modify the default value of the MX-8E[4] for ASRC function Oder Chiou
@ 2014-11-17 23:29 ` Mark Brown
0 siblings, 0 replies; 2+ messages in thread
From: Mark Brown @ 2014-11-17 23:29 UTC (permalink / raw)
To: Oder Chiou; +Cc: alsa-devel, lgirdwood, benzh, anatol, bardliao, flove
[-- Attachment #1.1: Type: text/plain, Size: 198 bytes --]
On Mon, Nov 17, 2014 at 10:18:11AM +0800, Oder Chiou wrote:
> Modify the default value of the MX-8E[4] to 1 for ASRC function. It could
> prevent the pop noise with ASRC function.
Applied, thanks.
[-- Attachment #1.2: Digital signature --]
[-- Type: application/pgp-signature, Size: 473 bytes --]
[-- Attachment #2: Type: text/plain, Size: 0 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-11-17 23:29 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-11-17 2:18 [PATCH] ASoC: rt5677: Modify the default value of the MX-8E[4] for ASRC function Oder Chiou
2014-11-17 23:29 ` Mark Brown
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox