diff options
author | David Henningsson <david.henningsson@canonical.com> | 2014-07-22 12:09:34 (GMT) |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2014-07-22 12:26:50 (GMT) |
commit | f5662e1cbf3f0939a6e033a00c542be4a0c2edee (patch) | |
tree | 5838be80537428235822d74a665a8b9f35d2bbcc /sound/pci/hda/hda_codec.c | |
parent | 9dc12862da9d56ef4da646ba540c4f58b78738fc (diff) | |
download | linux-f5662e1cbf3f0939a6e033a00c542be4a0c2edee.tar.xz |
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>
Diffstat (limited to 'sound/pci/hda/hda_codec.c')
-rw-r--r-- | sound/pci/hda/hda_codec.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/pci/hda/hda_codec.c b/sound/pci/hda/hda_codec.c index 47a6177..ec6a7d0 100644 --- a/sound/pci/hda/hda_codec.c +++ b/sound/pci/hda/hda_codec.c @@ -1476,6 +1476,7 @@ int snd_hda_codec_new(struct hda_bus *bus, INIT_DELAYED_WORK(&codec->jackpoll_work, hda_jackpoll_work); codec->depop_delay = -1; + codec->fixup_id = HDA_FIXUP_ID_NOT_SET; #ifdef CONFIG_PM spin_lock_init(&codec->power_lock); |