From: David Henningsson Date: Thu, 19 Jun 2014 20:07:19 +0000 (+0200) Subject: ALSA: hda - Fix usage of "model" module parameter X-Git-Tag: v3.16-rc4~8^2~11 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=8fffe7d1f094eea88aa0380255e247b285a2d5f2;p=platform%2Fkernel%2Flinux-exynos.git 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 Signed-off-by: David Henningsson Signed-off-by: Takashi Iwai --- diff --git a/sound/pci/hda/hda_auto_parser.c b/sound/pci/hda/hda_auto_parser.c index b684c6e..dabe419 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; }