[PATCH] ASoC: rt5645: disable soft volume control

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxx>
---
 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

_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel



[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux