OSDN Git Service

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)
commit215c850cf205fa502aa45c2540b8d8bc70bd0f1e
treed6a0dca29eb226ced38455b7e1a68bd519e34b2e
parentd261eec80ca987a2415dd26f982ca25844e4497c
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