]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: hda: Honor PM disablement in PM freeze and thaw_noirq ops
authorTakashi Iwai <tiwai@suse.de>
Mon, 13 Apr 2020 08:20:30 +0000 (10:20 +0200)
committerTakashi Iwai <tiwai@suse.de>
Mon, 13 Apr 2020 16:02:21 +0000 (18:02 +0200)
commit70091e9f8f4cc221d895086c2258d04d69031a6f
tree824f9aa11e6c2495ae943223352b7d3a7c8a911d
parent6eea1e9c04851a30a6fff4d2edb8be2c7c34aad7
ALSA: hda: Honor PM disablement in PM freeze and thaw_noirq ops

freeze_noirq and thaw_noirq need to check the PM availability like
other PM ops.  There are cases where the device got disabled due to
the error, and the PM operation should be ignored for that.

Fixes: 564e24410f64 ("ALSA: hda - Set SKL+ hda controller power at freeze() and thaw()")
BugLink: https://bugzilla.kernel.org/show_bug.cgi?id=207043
Link: https://lore.kernel.org/r/20200413082034.25166-3-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/hda_intel.c