]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit01c8e52f42c7f31c8cef10af14e15c0e8a433aaf
tree3c89ea031e2b2401e51e43f408815a51cc9e4c5e
parent17487d2d154053a988496b06daf50049b8d2fa26
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