]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitf8a9b67798df9dc3102d526df846f97624fbd9af
treeca04925c89b7ee7527caee491a940921f6a788fe
parentb6cf919aee81c0e5da1d4c1ad5b97202e39ed985
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