ALSA: hda/realtek - Make fixup regs persist after resume
authorKailang Yang <kailang@realtek.com>
Fri, 1 Nov 2013 07:57:35 +0000 (15:57 +0800)
committerTakashi Iwai <tiwai@suse.de>
Fri, 8 Nov 2013 06:43:45 +0000 (07:43 +0100)
commit380702192f616df5b2ba704b85cc479a3da92c91
treeca04925c89b7ee7527caee491a940921f6a788fe
parent3b70a67da0bebca02a130eff8084eee457a2b836
ALSA: hda/realtek - Make fixup regs persist after resume

Upon suspend / resume, the fixup register settings are lost because
sending HDA_FIXUP_ACT_PRE_PROBE is not part of the resume path. Instead,
write our registers in response to the HDA_FIXUP_ACT_INIT, which happens
after initial probe and upon resume.

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