]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/blobdiff - src/patches/suse-2.6.27.25/patches.drivers/alsa-hda-sigmatel-hp-m4-check-fix
Updated xen patches taken from suse.
[people/pmueller/ipfire-2.x.git] / src / patches / suse-2.6.27.25 / patches.drivers / alsa-hda-sigmatel-hp-m4-check-fix
diff --git a/src/patches/suse-2.6.27.25/patches.drivers/alsa-hda-sigmatel-hp-m4-check-fix b/src/patches/suse-2.6.27.25/patches.drivers/alsa-hda-sigmatel-hp-m4-check-fix
new file mode 100644 (file)
index 0000000..26439e2
--- /dev/null
@@ -0,0 +1,28 @@
+From: Takashi Iwai <tiwai@suse.de>
+Subject: ALSA: hda - Check model type instead of SSID in patch_92hd71bxx()
+Patch-mainline: 
+References: bnc#444349
+
+Check board preset model instead of codec->subsystem_id in
+patch_92hd71bxx() so that other hardwares configured via the model
+option work like the given model.
+
+Signed-off-by: Takashi Iwai <tiwai@suse.de>
+
+---
+ sound/pci/hda/patch_sigmatel.c |    4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+--- a/sound/pci/hda/patch_sigmatel.c
++++ b/sound/pci/hda/patch_sigmatel.c
+@@ -4492,8 +4492,8 @@ again:
+               codec->slave_dig_outs = stac92hd71bxx_slave_dig_outs;
+               break;
+       case 0x111d7608: /* 5 Port with Analog Mixer */
+-              switch (codec->subsystem_id) {
+-              case 0x103c361a:
++              switch (spec->board_config) {
++              case STAC_HP_M4:
+                       /* Enable VREF power saving on GPIO1 detect */
+                       snd_hda_codec_write(codec, codec->afg, 0,
+                               AC_VERB_SET_GPIO_UNSOLICITED_RSP_MASK, 0x02);