In the commit [
c3e837bb: ALSA: hda/realtek - Rewrite ALC882 acer-aspire-*
models with the auto-parser], the check of the model option got removed
mistakenly. Re-added the board_config check again.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
if (err < 0)
goto error;
- board_config = alc_board_codec_sid_config(codec,
+ board_config = alc_board_config(codec, ALC882_MODEL_LAST,
+ alc882_models, NULL);
+ if (board_config < 0)
+ board_config = alc_board_codec_sid_config(codec,
ALC882_MODEL_LAST, alc882_models, alc882_ssid_cfg_tbl);
if (board_config < 0) {