Skip to contentSkip to conversation

ALSA: HDA: Do not announce false surround in Conexant auto

PATCH Applied David Henningsson 2 participants 2 messages Feb 18, 2011 – Feb 19, 2011 Sound

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ALSA: HDA: Do not announce false surround in Conexant auto

Without this patch, one line-out and one speaker and Conexant's auto parser would announce (non-working) surround capabilities.

Signature · 2 lines
David Henningsson, Canonical Ltd.
http://launchpad.net/~diwic
Quoted 1 line

From d7acab6cd1aa8be6a04d1c9a47d1802a39597a3e Mon Sep 17 00:00:00 2001

From: David Henningsson <[email protected]>
Date: Wed, 16 Feb 2011 21:34:04 +0100
Subject: [PATCH] ALSA: HDA: Do not announce false surround in Conexant auto

Without this patch, one line-out and one speaker and Conexant's auto parser would announce (non-working) surround capabilities.

---
 sound/pci/hda/patch_conexant.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
sound/pci/hda/patch_conexant.c +1 -1
index fbe97d3..029741f 100644
@@ -3410,7 +3410,7 @@ static void cx_auto_parse_output(struct hda_codec *codec)
 		}
 	}
 	spec->multiout.dac_nids = spec->private_dac_nids;
-	spec->multiout.max_channels = nums * 2;
+	spec->multiout.max_channels = spec->multiout.num_dacs * 2;
 
 	if (cfg->hp_outs > 0)
 		spec->auto_mute = 1;
Signature · 1 line
1.7.1

_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

Applied
#1 lore raw

At Fri, 18 Feb 2011 09:33:55 +0100,

Quoted 4 lines · David Henningsson

Without this patch, one line-out and one speaker and Conexant's auto parser would announce (non-working) surround capabilities.

Thanks, applied now.

Takashi

Quoted 37 lines
Signature · 4 lines
-- 
David Henningsson, Canonical Ltd.
http://launchpad.net/~diwic
[2 0001-ALSA-HDA-Do-not-announce-false-surround-in-Conexant-.patch <text/x-patch (7bit)>]
Quoted 1 line

From d7acab6cd1aa8be6a04d1c9a47d1802a39597a3e Mon Sep 17 00:00:00 2001

From: David Henningsson <[email protected]>
Date: Wed, 16 Feb 2011 21:34:04 +0100
Subject: [PATCH] ALSA: HDA: Do not announce false surround in Conexant auto

Without this patch, one line-out and one speaker and Conexant's auto parser would announce (non-working) surround capabilities.

---
 sound/pci/hda/patch_conexant.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
sound/pci/hda/patch_conexant.c +1 -1
index fbe97d3..029741f 100644
@@ -3410,7 +3410,7 @@ static void cx_auto_parse_output(struct hda_codec *codec)
 		}
 	}
 	spec->multiout.dac_nids = spec->private_dac_nids;
-	spec->multiout.max_channels = nums * 2;
+	spec->multiout.max_channels = spec->multiout.num_dacs * 2;
 
 	if (cfg->hp_outs > 0)
 		spec->auto_mute = 1;
Signature · 1 line
1.7.1