summaryrefslogtreecommitdiff
path: root/sound/pci/hda/hda_auto_parser.c
diff options
context:
space:
mode:
authorDavid Henningsson <david.henningsson@canonical.com>2014-06-20 00:07:19 +0400
committerTakashi Iwai <tiwai@suse.de>2014-06-23 14:21:12 +0400
commit8fffe7d1f094eea88aa0380255e247b285a2d5f2 (patch)
tree4cc498e46ef03759699c216c6f46ebc1be1d35ca /sound/pci/hda/hda_auto_parser.c
parent2da38e0c9465b89518b29328daeb7da0ca1690b7 (diff)
downloadlinux-8fffe7d1f094eea88aa0380255e247b285a2d5f2.tar.xz
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>
Diffstat (limited to 'sound/pci/hda/hda_auto_parser.c')
-rw-r--r--sound/pci/hda/hda_auto_parser.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/pci/hda/hda_auto_parser.c b/sound/pci/hda/hda_auto_parser.c
index b684c6e4f301..dabe41975a9d 100644
--- a/sound/pci/hda/hda_auto_parser.c
+++ b/sound/pci/hda/hda_auto_parser.c
@@ -898,6 +898,7 @@ void snd_hda_pick_fixup(struct hda_codec *codec,
if (!strcmp(codec->modelname, models->name)) {
codec->fixup_id = models->id;
codec->fixup_name = models->name;
+ codec->fixup_list = fixlist;
codec->fixup_forced = 1;
return;
}