diff options
author | Takashi Iwai <tiwai@suse.de> | 2013-01-10 10:18:14 +0100 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2013-01-12 08:44:35 +0100 |
commit | fd1082159d1445b0306a4696a2aade251ce2fcb2 (patch) | |
tree | 8e884bbd3cfe59af2a9ae09c6d12d09d4a99da56 /sound/pci/hda/hda_local.h | |
parent | d3f02d60eecfc43088a3cb95d35e0cf75b4b8266 (diff) | |
download | linux-fd1082159d1445b0306a4696a2aade251ce2fcb2.tar.gz linux-fd1082159d1445b0306a4696a2aade251ce2fcb2.tar.bz2 linux-fd1082159d1445b0306a4696a2aade251ce2fcb2.zip |
ALSA: hda - Add a new fixup type to override pinctl values
Add a new fixup type, HDA_FIXUP_PINCTLS, for overriding the pinctl
values of the given pins. It takes the same array of struct pintbl
like HDA_FIXUP_PINS, but each entry contains the pinctl value instead
of the pin default config value.
This patch also replaces the corresponding codes in patch_realtek.c.
Without this change, the direct call of verbs may be overridden again
by the later call of pinctl restoration by the driver.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/hda/hda_local.h')
-rw-r--r-- | sound/pci/hda/hda_local.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/pci/hda/hda_local.h b/sound/pci/hda/hda_local.h index aa721aa1921a..c09440dd5bfa 100644 --- a/sound/pci/hda/hda_local.h +++ b/sound/pci/hda/hda_local.h @@ -422,6 +422,7 @@ enum { HDA_FIXUP_PINS, HDA_FIXUP_VERBS, HDA_FIXUP_FUNC, + HDA_FIXUP_PINCTLS, }; /* fixup action definitions */ |