浏览代码

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>
David Henningsson 11 年之前
父节点
当前提交
8fffe7d1f0
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      sound/pci/hda/hda_auto_parser.c

+ 1 - 0
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)) {
 			if (!strcmp(codec->modelname, models->name)) {
 				codec->fixup_id = models->id;
 				codec->fixup_id = models->id;
 				codec->fixup_name = models->name;
 				codec->fixup_name = models->name;
+				codec->fixup_list = fixlist;
 				codec->fixup_forced = 1;
 				codec->fixup_forced = 1;
 				return;
 				return;
 			}
 			}