Skip to content

Commit

Permalink
ALSA: hda/realtek - Re-add the model string selection for ALC88x
Browse files Browse the repository at this point in the history
In the commit [c3e837b: 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>
  • Loading branch information
Takashi Iwai committed Nov 14, 2011
1 parent 3ccbf1c commit b253969
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion sound/pci/hda/patch_realtek.c
Original file line number Diff line number Diff line change
Expand Up @@ -4534,7 +4534,10 @@ static int patch_alc882(struct hda_codec *codec)
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) {
Expand Down

0 comments on commit b253969

Please sign in to comment.