]> git.ipfire.org Git - ipfire-2.x.git/blobdiff - src/patches/suse-2.6.27.31/patches.drivers/alsa-post-ga-hda-stac-lo-detect-fix
Imported linux-2.6.27.39 suse/xen patches.
[ipfire-2.x.git] / src / patches / suse-2.6.27.31 / patches.drivers / alsa-post-ga-hda-stac-lo-detect-fix
diff --git a/src/patches/suse-2.6.27.31/patches.drivers/alsa-post-ga-hda-stac-lo-detect-fix b/src/patches/suse-2.6.27.31/patches.drivers/alsa-post-ga-hda-stac-lo-detect-fix
deleted file mode 100644 (file)
index d4d3669..0000000
+++ /dev/null
@@ -1,30 +0,0 @@
-From 1c4bdf9be010ae7c2324c0a90dd2296e0d1a775e Mon Sep 17 00:00:00 2001
-From: Takashi Iwai <tiwai@suse.de>
-Date: Thu, 13 Aug 2009 08:23:24 +0200
-Subject: ALSA: hda - Enable line-out detection only with speakers
-Patch-mainline: 
-References: bnc#520975
-
-Enable line-out detection for IDT/STAC codecs only when speaker pins
-exist.  In some cases, the speaker itself is identified as line-out,
-and this confuses the situation.  Only the extra line-outs should do
-auto-muting.
-
-Signed-off-by: Takashi Iwai <tiwai@suse.de>
-
----
- sound/pci/hda/patch_sigmatel.c |    3 ++-
- 1 file changed, 2 insertions(+), 1 deletion(-)
-
---- a/sound/pci/hda/patch_sigmatel.c
-+++ b/sound/pci/hda/patch_sigmatel.c
-@@ -4158,7 +4158,8 @@
-                       hda_nid_t nid = cfg->hp_pins[i];
-                       enable_pin_detect(codec, nid, STAC_HP_EVENT);
-               }
--              if (cfg->line_out_type == AUTO_PIN_LINE_OUT) {
-+              if (cfg->line_out_type == AUTO_PIN_LINE_OUT &&
-+                  cfg->speaker_outs > 0) {
-                       /* enable pin-detect for line-outs as well */
-                       for (i = 0; i < cfg->line_outs; i++) {
-                               hda_nid_t nid = cfg->line_out_pins[i];