ALSA: hda - Refactor quirk picking and change quirk priority
authorDavid Henningsson <david.henningsson@canonical.com>
Tue, 22 Jul 2014 12:09:34 +0000 (14:09 +0200)
committerTakashi Iwai <tiwai@suse.de>
Tue, 22 Jul 2014 12:26:50 +0000 (14:26 +0200)
commitf5662e1cbf3f0939a6e033a00c542be4a0c2edee
tree5838be80537428235822d74a665a8b9f35d2bbcc
parent9dc12862da9d56ef4da646ba540c4f58b78738fc
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>
sound/pci/hda/hda_auto_parser.c
sound/pci/hda/hda_codec.c
sound/pci/hda/hda_codec.h
sound/pci/hda/hda_local.h
sound/pci/hda/patch_cirrus.c
sound/pci/hda/patch_sigmatel.c