ALSA: hda/realtek - Simplify Dell XPS13 GPIO handling
authorTakashi Iwai <tiwai@suse.de>
Tue, 19 Jun 2018 21:04:03 +0000 (23:04 +0200)
committerTakashi Iwai <tiwai@suse.de>
Mon, 25 Jun 2018 08:04:24 +0000 (10:04 +0200)
commitd44a68640668544891fc4b468284d1eaeb49c1d8
tree3c89ea031e2b2401e51e43f408815a51cc9e4c5e
parentae065f1ce07c09600af0e1dbb6b071991f7cb6e5
ALSA: hda/realtek - Simplify Dell XPS13 GPIO handling

Dell XPS13 has multi-step fixups, and one of them
(ALC288_FIXUP_DELL_XPS_13_GPIO6) corresponds to the management of GPIO
bit6 (0x40).  It used to be a static init verbs (to turn *off* the
bit6).

In this patch, we convert it as the gpio_mask and gpio_dir
initializations folded in the existing fixup function.  With this
change, ALC288_FIXUP_DELL_XPS_13_GPIO6 becomes superfluous, thus it's
removed.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/patch_realtek.c