]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/blobdiff - src/patches/suse-2.6.27.31/patches.drivers/alsa-hda-ad1882-id-typo-fix
Reenabled linux-xen, added patches for Xen Kernel Version 2.6.27.31,
[people/pmueller/ipfire-2.x.git] / src / patches / suse-2.6.27.31 / patches.drivers / alsa-hda-ad1882-id-typo-fix
diff --git a/src/patches/suse-2.6.27.31/patches.drivers/alsa-hda-ad1882-id-typo-fix b/src/patches/suse-2.6.27.31/patches.drivers/alsa-hda-ad1882-id-typo-fix
new file mode 100644 (file)
index 0000000..6ab370f
--- /dev/null
@@ -0,0 +1,34 @@
+From c247ed6f5205f9feebd276c4cbe45018b10f19fa Mon Sep 17 00:00:00 2001
+From: Clemens Fruhwirth <clemens@endorphin.org>
+Date: Wed, 7 Jan 2009 11:43:48 +0100
+Subject: ALSA: hda - Fix typos for AD1882 codecs
+Patch-mainline: 2.6.28
+References: 
+
+Fixed typos of codec-id checks for AD1882/AD1882A.
+
+Cc: stable@kernel.org
+Signed-off-by: Takashi Iwai <tiwai@suse.de>
+
+---
+ sound/pci/hda/patch_analog.c |    4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+--- a/sound/pci/hda/patch_analog.c
++++ b/sound/pci/hda/patch_analog.c
+@@ -4266,13 +4266,13 @@ static int patch_ad1882(struct hda_codec
+       spec->num_adc_nids = ARRAY_SIZE(ad1882_adc_nids);
+       spec->adc_nids = ad1882_adc_nids;
+       spec->capsrc_nids = ad1882_capsrc_nids;
+-      if (codec->vendor_id == 0x11d1882)
++      if (codec->vendor_id == 0x11d41882)
+               spec->input_mux = &ad1882_capture_source;
+       else
+               spec->input_mux = &ad1882a_capture_source;
+       spec->num_mixers = 2;
+       spec->mixers[0] = ad1882_base_mixers;
+-      if (codec->vendor_id == 0x11d1882)
++      if (codec->vendor_id == 0x11d41882)
+               spec->mixers[1] = ad1882_loopback_mixers;
+       else
+               spec->mixers[1] = ad1882a_loopback_mixers;