summaryrefslogtreecommitdiff
path: root/arch/s390
diff options
context:
space:
mode:
authorXiong Zhang <xiong.y.zhang@intel.com>2015-12-18 13:29:18 +0800
committerLuis Henriques <luis.henriques@canonical.com>2016-01-25 10:43:56 +0000
commit4111e14dc9953073c773d87c1c4c522e9351a9b4 (patch)
treea49b88e9e622f4dde050edcec9bc31457ee942c8 /arch/s390
parent8be2fa1c16f503b408a3be6d4e96e6e8e849f959 (diff)
ALSA: hda - Set SKL+ hda controller power at freeze() and thaw()
commit 3e6db33aaf1d42a30339f831ec4850570d6cc7a3 upstream. It takes three minutes to enter into hibernation on some OEM SKL machines and we see many codec spurious response after thaw() opertion. This is because HDA is still in D0 state after freeze() call and pci_pm_freeze/pci_pm_freeze_noirq() don't set D3 hot in pci_bus driver. It seems bios still access HDA when system enter into freeze state, HDA will receive codec response interrupt immediately after thaw() call. Because of this unexpected interrupt, HDA enter into a abnormal state and slow down the system enter into hibernation. In this patch, we put HDA into D3 hot state in azx_freeze_noirq() and put HDA into D0 state in azx_thaw_noirq(). V2: Only apply this fix to SKL+ Fix compile error when CONFIG_PM_SLEEP isn't defined [Yet another fix for CONFIG_PM_SLEEP ifdef and the additional comment by tiwai] Signed-off-by: Xiong Zhang <xiong.y.zhang@intel.com> Signed-off-by: Takashi Iwai <tiwai@suse.de> [ luis: backported to 3.16: adjusted context ] Signed-off-by: Luis Henriques <luis.henriques@canonical.com>
Diffstat (limited to 'arch/s390')
0 files changed, 0 insertions, 0 deletions