Skip to contentSkip to conversation

ASoC: rt5645: disable soft volume control

PATCH In review Bard Liao 2 participants 3 messages Jul 5, 2016

Subsystems (3)
lore
Share & tools
lore

Bard Liao

author
#0 lore raw

PATCH 1/1 ASoC: rt5645: disable soft volume control

With soft volume control function, rt5645/rt5650 will start with 0dB volume and take a little time to adjust volume to given value. And it will cause a bad user experience. This patch disable it.

---
 sound/soc/codecs/rt5645.c | 1 +
 1 file changed, 1 insertion(+)
sound/soc/codecs/rt5645.c +1 -0
index 97bf96e..c969f48 100644
@@ -63,6 +63,7 @@ static const struct reg_sequence init_list[] = {
 	{RT5645_PR_BASE + 0x20,	0x611f},
 	{RT5645_PR_BASE + 0x21,	0x4040},
 	{RT5645_PR_BASE + 0x23,	0x0004},
+	{RT5645_PR_BASE + 0x00,	0x0a2a},
 	{RT5645_ASRC_4, 0x0120},
 };
 
Signature · 1 line
1.8.1.1.439.g50a6b54
maintainer
#1 lore raw
Quoted 3 lines · Bard Liao

With soft volume control function, rt5645/rt5650 will start with 0dB volume and take a little time to adjust volume to given value. And it will cause a bad user experience. This patch disable it.

This seems like something that it'd be better to give users control over
- some users will be annoyed by a soft ramp but there will be others who welcome it.

author
#2 lore raw
Quoted 9 lines

-----Original Message-----
From: Mark Brown [mailto:[email protected]]
Sent: Tuesday, July 05, 2016 4:34 PM
To: Bard Liao
Cc: [email protected]; [email protected]; [email protected]; Flove; Oder Chiou; Jack Yu; [email protected]; [email protected]
Subject: Re: [PATCH] ASoC: rt5645: disable soft volume control

Quoted 8 lines
Quoted 3 lines · Bard Liao

With soft volume control function, rt5645/rt5650 will start with 0dB volume and take a little time to adjust volume to given value. And it will cause a bad user experience. This patch disable it.

This seems like something that it'd be better to give users control over
- some users will be annoyed by a soft ramp but there will be others who welcome it.

Good idea. I will do it.

Quoted 2 lines

------Please consider the environment before printing this e-mail.