]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: hda/realtek - Simplify alc885_fixup_macpro_gpio()
authorTakashi Iwai <tiwai@suse.de>
Tue, 19 Jun 2018 20:34:26 +0000 (22:34 +0200)
committerTakashi Iwai <tiwai@suse.de>
Mon, 25 Jun 2018 08:04:23 +0000 (10:04 +0200)
commit88a7a72f69ee643ae03c6b7a0812d7b8e3990428
treed6a0dca29eb226ced38455b7e1a68bd519e34b2e
parentf4abfc191b38ccc8ed872a21bab7aba9405ee4ca
ALSA: hda/realtek - Simplify alc885_fixup_macpro_gpio()

The fixup for Macbook Pro is nothing but setting the GPIO bits as
usual but with one exception: it adds some delay at writing the GPIO
bits.

Add a flag to put the conditional delay in the common helper, and
clean up alc885_fixup_macpro_gpio() with the new flag.

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