aboutsummaryrefslogtreecommitdiffstats
path: root/sound/pci/hda/patch_realtek.c
diff options
context:
space:
mode:
Diffstat (limited to 'sound/pci/hda/patch_realtek.c')
-rw-r--r--sound/pci/hda/patch_realtek.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c
index 6f0f2f6b2e4..41590e3a20f 100644
--- a/sound/pci/hda/patch_realtek.c
+++ b/sound/pci/hda/patch_realtek.c
@@ -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) {