ALSA: hda - Restore GPIO1 properly at resume with AD1984A
commit4012ade9338c05428162e85cc9b149dcadf1ce85
authorTakashi Iwai <tiwai@suse.de>
Wed, 22 Jul 2009 16:15:10 +0000 (22 18:15 +0200)
committerTakashi Iwai <tiwai@suse.de>
Wed, 22 Jul 2009 16:15:10 +0000 (22 18:15 +0200)
tree603d14ece88466c4e75c1276d40ddefa7b7e9e33
parent86de7416600e93835eeacee379aea939b6a0917a
ALSA: hda - Restore GPIO1 properly at resume with AD1984A

The commit 099db17e66294b02814dee01c81d9abbbeece93e introduced a
regression at suspend/resume where the GPIO1 bit isn't properly
restored, thus the speaker output gets muted initially after resume.

The fix is simple, use the cached write for storing GPIO data.

Reference: Novell bnc#522764
https://bugzilla.novell.com/show_bug.cgi?id=522764

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