[alsa-devel] [PATCH] ALSA: hda - Fix usage of "model" module parameter

David Henningsson david.henningsson at canonical.com
Thu Jun 19 22:07:19 CEST 2014


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

Reported-by: Kent Baxley <kent.baxley at canonical.com>
Signed-off-by: David Henningsson <david.henningsson at canonical.com>
---
 sound/pci/hda/hda_auto_parser.c | 1 +
 1 file changed, 1 insertion(+)

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;
 			}
-- 
1.9.1



More information about the Alsa-devel mailing list