public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] linux-patches r1821 - genpatches-2.6/trunk/2.6.36
@ 2010-11-04 20:30 Mike Pagano (mpagano)
  0 siblings, 0 replies; only message in thread
From: Mike Pagano (mpagano) @ 2010-11-04 20:30 UTC (permalink / raw
  To: gentoo-commits

Author: mpagano
Date: 2010-11-04 20:30:01 +0000 (Thu, 04 Nov 2010)
New Revision: 1821

Added:
   genpatches-2.6/trunk/2.6.36/2700_disable-sticky-PCM-stream-assignment-for-AD-codecs.patch
Modified:
   genpatches-2.6/trunk/2.6.36/0000_README
Log:
AD codec fix for PCM stream assignments for bug #344153

Modified: genpatches-2.6/trunk/2.6.36/0000_README
===================================================================
--- genpatches-2.6/trunk/2.6.36/0000_README	2010-10-31 23:47:22 UTC (rev 1820)
+++ genpatches-2.6/trunk/2.6.36/0000_README	2010-11-04 20:30:01 UTC (rev 1821)
@@ -39,6 +39,10 @@
 Individual Patch Descriptions:
 --------------------------------------------------------------------------
 
+Patch:  2700_disable-sticky-PCM-stream-assignment-for-AD-codecs.patch
+From:   http://bugs.gentoo.org/show_bug.cgi?id=344153
+Desc:   AD codec fix for PCM stream assignments
+
 Patch:  2900_xconfig-with-qt4.patch
 From:   http://bugs.gentoo.org/show_bug.cgi?id=342007
 Desc:   xconfig patch for qt4 - thanks to alexander stein

Added: genpatches-2.6/trunk/2.6.36/2700_disable-sticky-PCM-stream-assignment-for-AD-codecs.patch
===================================================================
--- genpatches-2.6/trunk/2.6.36/2700_disable-sticky-PCM-stream-assignment-for-AD-codecs.patch	                        (rev 0)
+++ genpatches-2.6/trunk/2.6.36/2700_disable-sticky-PCM-stream-assignment-for-AD-codecs.patch	2010-11-04 20:30:01 UTC (rev 1821)
@@ -0,0 +1,80 @@
+--- a/sound/pci/hda/hda_codec.c	2010-11-04 14:59:50.000000000 -0400
++++ b/sound/pci/hda/hda_codec.c	2010-11-04 15:01:20.000000000 -0400
+@@ -1281,6 +1281,9 @@ void __snd_hda_codec_cleanup_stream(stru
+ 	if (!nid)
+ 		return;
+ 
++	if (codec->no_sticky_stream)
++		do_now = 1;
++
+ 	snd_printdd("hda_codec_cleanup_stream: NID=0x%x\n", nid);
+ 	p = get_hda_cvt_setup(codec, nid);
+ 	if (p) {
+--- a/sound/pci/hda/hda_codec.h	2010-11-04 14:59:52.000000000 -0400
++++ b/sound/pci/hda/hda_codec.h	2010-11-04 15:01:49.000000000 -0400
+@@ -850,6 +850,7 @@ struct hda_codec {
+ 	unsigned int pin_amp_workaround:1; /* pin out-amp takes index
+ 					    * (e.g. Conexant codecs)
+ 					    */
++	unsigned int no_sticky_stream:1; /* no sticky-PCM stream assignment */
+ 	unsigned int pins_shutup:1;	/* pins are shut up */
+ 	unsigned int no_trigger_sense:1; /* don't trigger at pin-sensing */
+ #ifdef CONFIG_SND_HDA_POWER_SAVE
+--- a/sound/pci/hda/patch_analog.c	2010-11-04 15:00:03.000000000 -0400
++++ b/sound/pci/hda/patch_analog.c	2010-11-04 15:03:24.000000000 -0400
+@@ -1276,6 +1276,7 @@ static int patch_ad1986a(struct hda_code
+ 	spec->multiout.no_share_stream = 1;
+ 
+ 	codec->no_trigger_sense = 1;
++	codec->no_sticky_stream = 1;
+ 
+ 	return 0;
+ }
+@@ -1463,6 +1464,7 @@ static int patch_ad1983(struct hda_codec
+ 	codec->patch_ops = ad198x_patch_ops;
+ 
+ 	codec->no_trigger_sense = 1;
++	codec->no_sticky_stream = 1;
+ 
+ 	return 0;
+ }
+@@ -1917,6 +1919,7 @@ static int patch_ad1981(struct hda_codec
+ 	}
+ 
+ 	codec->no_trigger_sense = 1;
++	codec->no_sticky_stream = 1;
+ 
+ 	return 0;
+ }
+@@ -3235,6 +3238,7 @@ static int patch_ad1988(struct hda_codec
+ 	spec->vmaster_nid = 0x04;
+ 
+ 	codec->no_trigger_sense = 1;
++	codec->no_sticky_stream = 1;
+ 
+ 	return 0;
+ }
+@@ -3449,6 +3453,7 @@ static int patch_ad1884(struct hda_codec
+ 	codec->patch_ops = ad198x_patch_ops;
+ 
+ 	codec->no_trigger_sense = 1;
++	codec->no_sticky_stream = 1;
+ 
+ 	return 0;
+ }
+@@ -4422,6 +4427,7 @@ static int patch_ad1884a(struct hda_code
+ 	}
+ 
+ 	codec->no_trigger_sense = 1;
++	codec->no_sticky_stream = 1;
+ 
+ 	return 0;
+ }
+@@ -4761,6 +4767,7 @@ static int patch_ad1882(struct hda_codec
+ 	}
+ 
+ 	codec->no_trigger_sense = 1;
++	codec->no_sticky_stream = 1;
+ 
+ 	return 0;
+ }




^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2010-11-04 20:30 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-11-04 20:30 [gentoo-commits] linux-patches r1821 - genpatches-2.6/trunk/2.6.36 Mike Pagano (mpagano)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox