← Back to team overview

ac100 team mailing list archive

Re: [PATCH] ASoC: alc5632: Connect HP/HPL/HPR mix'es to HPOut Mix

 

22 января 2012, 14:28 от Leon Romanovsky <leon@xxxxxxx>:
On Sat, Jan 21, 2012 at 22:55, Andrey Danin <danindrey@xxxxxxx> wrote:
Hi.

This patch should fix output through speakers using HP mixer.
Can you be more specific on the "fix output"?
It means that we have no sound from speakers when HP mixer is used as source for SpeakerOut Mux.
Updated patch is attached. Is it ok now?

I tested it  on leonro's 3.0 branch (but I think it doesn't matter):
- speakers work with SpeakerOut Mux equal to Speaker Mix and HPOut Mix.
- headphones work too.


_______________________________________________
Mailing list: https://launchpad.net/~ac100
Post to     : ac100@xxxxxxxxxxxxxxxxxxx
Unsubscribe : https://launchpad.net/~ac100
More help   : https://help.launchpad.net/ListHelp




-- 
Leon Romanovsky | Independent Linux Consultant
www.leon.nu | leon@xxxxxxx


From 33451f88ebd9ea29d1db1b3276e2077d4f3356f5 Mon Sep 17 00:00:00 2001
From: Andrey Danin <danindrey@mail.ru>
Date: Sun, 22 Jan 2012 00:00:08 +0300
Subject: [PATCH] ASoC: alc5632: Connect HP/HPL/HPR mix'es to HPOut Mix.

Add missed DAPM connections.
This connections allow to use HP mixer as source for speakers output.

Signed-off-by: Andrey Danin <danindrey@mail.ru>
---
 sound/soc/codecs/alc5632.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/sound/soc/codecs/alc5632.c b/sound/soc/codecs/alc5632.c
index 5e61b9f..cb28ef5 100644
--- a/sound/soc/codecs/alc5632.c
+++ b/sound/soc/codecs/alc5632.c
@@ -453,6 +453,9 @@ static const struct snd_soc_dapm_route alc5632_dapm_routes[] = {
 	{"HPL Mix", "DACL2HP Playback Switch",	"DAC Left Channel"},
 	{"HPR Mix", "DACR2HP Playback Switch",	"DAC Right Channel"},
 	{"HP Mix", "VOICE2HP Playback Switch",	"Voice Mix"},
+	{"HPOut Mix", NULL, "HP Mix"},
+	{"HPOut Mix", NULL, "HPR Mix"},
+	{"HPOut Mix", NULL, "HPL Mix"},
 
 	/* speaker mixer */
 	{"Speaker Mix", "LI2SPK Playback Switch",	"Line Mix"},
-- 
1.7.4.4


References