diff mbox

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

Message ID 1403208439-5184-1-git-send-email-david.henningsson@canonical.com (mailing list archive)
State Accepted
Commit 8fffe7d1f094eea88aa0380255e247b285a2d5f2
Headers show

Commit Message

David Henningsson June 19, 2014, 8:07 p.m. UTC
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@canonical.com>
Signed-off-by: David Henningsson <david.henningsson@canonical.com>
---
 sound/pci/hda/hda_auto_parser.c | 1 +
 1 file changed, 1 insertion(+)
diff mbox

Patch

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