Commit c247ed6f authored by Clemens Fruhwirth's avatar Clemens Fruhwirth Committed by Takashi Iwai

ALSA: hda - Fix typos for AD1882 codecs

Fixed typos of codec-id checks for AD1882/AD1882A.

Cc: stable@kernel.org
Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent d5337deb
...@@ -4263,13 +4263,13 @@ static int patch_ad1882(struct hda_codec *codec) ...@@ -4263,13 +4263,13 @@ static int patch_ad1882(struct hda_codec *codec)
spec->num_adc_nids = ARRAY_SIZE(ad1882_adc_nids); spec->num_adc_nids = ARRAY_SIZE(ad1882_adc_nids);
spec->adc_nids = ad1882_adc_nids; spec->adc_nids = ad1882_adc_nids;
spec->capsrc_nids = ad1882_capsrc_nids; spec->capsrc_nids = ad1882_capsrc_nids;
if (codec->vendor_id == 0x11d1882) if (codec->vendor_id == 0x11d41882)
spec->input_mux = &ad1882_capture_source; spec->input_mux = &ad1882_capture_source;
else else
spec->input_mux = &ad1882a_capture_source; spec->input_mux = &ad1882a_capture_source;
spec->num_mixers = 2; spec->num_mixers = 2;
spec->mixers[0] = ad1882_base_mixers; spec->mixers[0] = ad1882_base_mixers;
if (codec->vendor_id == 0x11d1882) if (codec->vendor_id == 0x11d41882)
spec->mixers[1] = ad1882_loopback_mixers; spec->mixers[1] = ad1882_loopback_mixers;
else else
spec->mixers[1] = ad1882a_loopback_mixers; spec->mixers[1] = ad1882a_loopback_mixers;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment