ALSA: hda - Refactor quirk picking and change quirk priority
Previously, calling one quirk function first and another later would make the latter one take priority, this is now changed to make the former take priority. By adding two special values for fixup_id we can also get rid of the fixup_forced flag. Signed-off-by: David Henningsson <david.henningsson@canonical.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
This commit is contained in:

committed by
Takashi Iwai

parent
9dc12862da
commit
f5662e1cbf
@@ -402,7 +402,6 @@ struct hda_codec {
|
||||
|
||||
/* fix-up list */
|
||||
int fixup_id;
|
||||
unsigned int fixup_forced:1; /* fixup explicitly set by user */
|
||||
const struct hda_fixup *fixup_list;
|
||||
const char *fixup_name;
|
||||
|
||||
|
Reference in New Issue
Block a user