alsa-devel.alsa-project.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] ASoC: rt5645: disable soft volume control
@ 2016-07-05  5:23 Bard Liao
  2016-07-05  8:34 ` Mark Brown
  0 siblings, 1 reply; 3+ messages in thread
From: Bard Liao @ 2016-07-05  5:23 UTC (permalink / raw)
  To: broonie, lgirdwood
  Cc: oder_chiou, jack.yu, alsa-devel, lars, koro.chen, PC.Liao,
	Bard Liao, flove

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.

Signed-off-by: Bard Liao <bardliao@realtek.com>
---
 sound/soc/codecs/rt5645.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/sound/soc/codecs/rt5645.c b/sound/soc/codecs/rt5645.c
index 97bf96e..c969f48 100644
--- a/sound/soc/codecs/rt5645.c
+++ b/sound/soc/codecs/rt5645.c
@@ -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},
 };
 
-- 
1.8.1.1.439.g50a6b54

^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-07-05  8:44 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-07-05  5:23 [PATCH] ASoC: rt5645: disable soft volume control Bard Liao
2016-07-05  8:34 ` Mark Brown
2016-07-05  8:44   ` Bard Liao

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).