Commit 8fffe7d1f094eea88aa0380255e247b285a2d5f2

Authored by David Henningsson
Committed by Takashi Iwai
1 parent 2da38e0c94

ALSA: hda - Fix usage of "model" module parameter

A recent refactoring broke the possibility to manually specify
model name as a module parameter. This patch restores the desired
functionality.

Fixes: c21c8cf77f47 ('ALSA: hda - Add fixup_forced flag')
Reported-by: Kent Baxley <kent.baxley@canonical.com>
Signed-off-by: David Henningsson <david.henningsson@canonical.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>

Showing 1 changed file with 1 additions and 0 deletions Side-by-side Diff

sound/pci/hda/hda_auto_parser.c
... ... @@ -898,6 +898,7 @@
898 898 if (!strcmp(codec->modelname, models->name)) {
899 899 codec->fixup_id = models->id;
900 900 codec->fixup_name = models->name;
  901 + codec->fixup_list = fixlist;
901 902 codec->fixup_forced = 1;
902 903 return;
903 904 }