]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/blob - src/patches/suse-2.6.27.31/patches.drivers/alsa-hda-ad1882-id-typo-fix
Add a patch to fix Intel E100 wake-on-lan problems.
[people/pmueller/ipfire-2.x.git] / src / patches / suse-2.6.27.31 / patches.drivers / alsa-hda-ad1882-id-typo-fix
1 From c247ed6f5205f9feebd276c4cbe45018b10f19fa Mon Sep 17 00:00:00 2001
2 From: Clemens Fruhwirth <clemens@endorphin.org>
3 Date: Wed, 7 Jan 2009 11:43:48 +0100
4 Subject: ALSA: hda - Fix typos for AD1882 codecs
5 Patch-mainline: 2.6.28
6 References:
7
8 Fixed typos of codec-id checks for AD1882/AD1882A.
9
10 Cc: stable@kernel.org
11 Signed-off-by: Takashi Iwai <tiwai@suse.de>
12
13 ---
14 sound/pci/hda/patch_analog.c | 4 ++--
15 1 file changed, 2 insertions(+), 2 deletions(-)
16
17 --- a/sound/pci/hda/patch_analog.c
18 +++ b/sound/pci/hda/patch_analog.c
19 @@ -4266,13 +4266,13 @@ static int patch_ad1882(struct hda_codec
20 spec->num_adc_nids = ARRAY_SIZE(ad1882_adc_nids);
21 spec->adc_nids = ad1882_adc_nids;
22 spec->capsrc_nids = ad1882_capsrc_nids;
23 - if (codec->vendor_id == 0x11d1882)
24 + if (codec->vendor_id == 0x11d41882)
25 spec->input_mux = &ad1882_capture_source;
26 else
27 spec->input_mux = &ad1882a_capture_source;
28 spec->num_mixers = 2;
29 spec->mixers[0] = ad1882_base_mixers;
30 - if (codec->vendor_id == 0x11d1882)
31 + if (codec->vendor_id == 0x11d41882)
32 spec->mixers[1] = ad1882_loopback_mixers;
33 else
34 spec->mixers[1] = ad1882a_loopback_mixers;