aboutsummaryrefslogtreecommitdiff
path: root/sound
diff options
context:
space:
mode:
authorClemens Fruhwirth <clemens@endorphin.org>2009-01-07 11:43:48 +0100
committerGreg Kroah-Hartman <gregkh@suse.de>2009-01-18 10:43:44 -0800
commit2476a1972109a293a4beca898c2ee4b163914229 (patch)
tree6f34fb1da1afa87901c67cc654770ecc0439a9c8 /sound
parent1e7a6e6dc1979c39de48a1f738fff68ba16ae8d6 (diff)
ALSA: hda - Fix typos for AD1882 codecs
commit c247ed6f5205f9feebd276c4cbe45018b10f19fa upstream. Fixed typos of codec-id checks for AD1882/AD1882A. Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'sound')
-rw-r--r--sound/pci/hda/patch_analog.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/pci/hda/patch_analog.c b/sound/pci/hda/patch_analog.c
index 9e2fc5efbbb..2dc976d5bf2 100644
--- a/sound/pci/hda/patch_analog.c
+++ b/sound/pci/hda/patch_analog.c
@@ -4222,13 +4222,13 @@ static int patch_ad1882(struct hda_codec *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;