Commit b2539699 authored by Takashi Iwai's avatar Takashi Iwai

ALSA: hda/realtek - Re-add the model string selection for ALC88x

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: default avatarTakashi Iwai <tiwai@suse.de>
parent 3ccbf1c3
...@@ -4534,7 +4534,10 @@ static int patch_alc882(struct hda_codec *codec) ...@@ -4534,7 +4534,10 @@ static int patch_alc882(struct hda_codec *codec)
if (err < 0) if (err < 0)
goto error; 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); ALC882_MODEL_LAST, alc882_models, alc882_ssid_cfg_tbl);
if (board_config < 0) { if (board_config < 0) {
......
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