← Back to team overview

ac100 team mailing list archive

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

 

Hi.

This patch should fix output through speakers using HP mixer.

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.
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.


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


Follow ups