]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: hda/realtek - Apply ALC294 hp init also for S4 resume
authorTakashi Iwai <tiwai@suse.de>
Tue, 29 Jan 2019 13:14:51 +0000 (14:14 +0100)
committerTakashi Iwai <tiwai@suse.de>
Tue, 29 Jan 2019 17:26:03 +0000 (18:26 +0100)
commit55e3efc9ad3f19795a08eecfbe5cd3dac1047484
treebb1977bb9b291f6b438c0bc0c54ddc0c1e13f5c2
parentccb4a945813a3fe11915deb8acbf2561ef3c9ebc
ALSA: hda/realtek - Apply ALC294 hp init also for S4 resume

The init sequence for ALC294 headphone stuff is needed not only for
the boot up time but also for the resume from hibernation, where the
device is switched from the boot kernel without sound driver to the
suspended image.  Since we record the PM event in the device
power_state field, we can now recognize the call pattern and apply the
sequence conditionally.

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