ALSA: hda - Fix wrong model range check for ALC268
[deliverable/linux.git] / sound / pci / hda / patch_realtek.c
index 5d2fbb87b871c6d17ce4dadcd9b771436ac15df5..dcd8a2cadd99782e6b1dde060287a64a3395548f 100644 (file)
@@ -13201,7 +13201,7 @@ static int patch_alc268(struct hda_codec *codec)
 
        if (board_config < 0 || board_config >= ALC268_MODEL_LAST)
                board_config = snd_hda_check_board_codec_sid_config(codec,
-                       ALC882_MODEL_LAST, alc268_models, alc268_ssid_cfg_tbl);
+                       ALC268_MODEL_LAST, alc268_models, alc268_ssid_cfg_tbl);
 
        if (board_config < 0 || board_config >= ALC268_MODEL_LAST) {
                printk(KERN_INFO "hda_codec: %s: BIOS auto-probing.\n",
This page took 0.037397 seconds and 5 git commands to generate.