Commit 1657cbd8 authored by Kailang Yang's avatar Kailang Yang Committed by Takashi Iwai

ALSA: hda - Fix wrong ALC269 variant check

The refactoring commit d433a678
    ALSA: hda - Optimize the check of ALC269 codec variants
introduced a wrong check for ALC269-vb type.  This patch corrects it.
Signed-off-by: default avatarKailang Yang <>
Signed-off-by: default avatarTakashi Iwai <>
parent 6027277e
......@@ -15104,7 +15104,7 @@ static int patch_alc269(struct hda_codec *codec)
spec->stream_digital_capture = &alc269_pcm_digital_capture;
if (!spec->adc_nids) { /* wasn't filled automatically? use default */
if (spec->codec_variant != ALC269_TYPE_NORMAL) {
if (spec->codec_variant == ALC269_TYPE_NORMAL) {
spec->adc_nids = alc269_adc_nids;
spec->num_adc_nids = ARRAY_SIZE(alc269_adc_nids);
spec->capsrc_nids = alc269_capsrc_nids;
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