Commit 912093bc7c08f59e97faed2c0269e1e5429dcd58
1 parent
fae3d88a5c
Exists in
smarc-l5.0.0_1.0.0-ga
and in
5 other branches
ALSA: hda/realtek - Add a few ALC882 model strings back
Since there are still many Acer models that might not be covered by the current fixup table, let's add back a few typical model names so that user can test the fixup without recompiling. Signed-off-by: Takashi Iwai <tiwai@suse.de>
Showing 2 changed files with 12 additions and 2 deletions Side-by-side Diff
Documentation/sound/alsa/HD-Audio-Models.txt
sound/pci/hda/patch_realtek.c
... | ... | @@ -5399,6 +5399,13 @@ |
5399 | 5399 | {} |
5400 | 5400 | }; |
5401 | 5401 | |
5402 | +static const struct alc_model_fixup alc882_fixup_models[] = { | |
5403 | + {.id = ALC882_FIXUP_ACER_ASPIRE_4930G, .name = "acer-aspire-4930g"}, | |
5404 | + {.id = ALC882_FIXUP_ACER_ASPIRE_8930G, .name = "acer-aspire-8930g"}, | |
5405 | + {.id = ALC883_FIXUP_ACER_EAPD, .name = "acer-aspire"}, | |
5406 | + {} | |
5407 | +}; | |
5408 | + | |
5402 | 5409 | /* |
5403 | 5410 | * BIOS auto configuration |
5404 | 5411 | */ |
... | ... | @@ -5439,7 +5446,8 @@ |
5439 | 5446 | if (err < 0) |
5440 | 5447 | goto error; |
5441 | 5448 | |
5442 | - alc_pick_fixup(codec, NULL, alc882_fixup_tbl, alc882_fixups); | |
5449 | + alc_pick_fixup(codec, alc882_fixup_models, alc882_fixup_tbl, | |
5450 | + alc882_fixups); | |
5443 | 5451 | alc_apply_fixup(codec, ALC_FIXUP_ACT_PRE_PROBE); |
5444 | 5452 | |
5445 | 5453 | alc_auto_parse_customize_define(codec); |