Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8fffe7d1 authored by David Henningsson's avatar David Henningsson Committed by Takashi Iwai
Browse files

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: c21c8cf7 ('ALSA: hda - Add fixup_forced flag')
Reported-by: default avatarKent Baxley <kent.baxley@canonical.com>
Signed-off-by: default avatarDavid Henningsson <david.henningsson@canonical.com>
Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent 2da38e0c
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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;
			}