ALSA: hda - Add a new fixup type to override pinctl values
authorTakashi Iwai <tiwai@suse.de>
Thu, 10 Jan 2013 09:18:14 +0000 (10:18 +0100)
committerTakashi Iwai <tiwai@suse.de>
Sat, 12 Jan 2013 07:44:35 +0000 (08:44 +0100)
commitfd1082159d1445b0306a4696a2aade251ce2fcb2
tree8e884bbd3cfe59af2a9ae09c6d12d09d4a99da56
parentd3f02d60eecfc43088a3cb95d35e0cf75b4b8266
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>
sound/pci/hda/hda_auto_parser.c
sound/pci/hda/hda_local.h
sound/pci/hda/patch_realtek.c