Commit 912093bc7c08f59e97faed2c0269e1e5429dcd58

Authored by Takashi Iwai
1 parent fae3d88a5c

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
... ... @@ -43,7 +43,9 @@
43 43  
44 44 ALC882/883/885/888/889
45 45 ======================
46   - N/A
  46 + acer-aspire-4930g Acer Aspire 4930G/5930G/6530G/6930G/7730G
  47 + acer-aspire-8930g Acer Aspire 8330G/6935G
  48 + acer-aspire Acer Aspire others
47 49  
48 50 ALC861/660
49 51 ==========
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);