ALSA: hda: Explicitly permit using autosuspend if runtime PM is supported
authorRoy Spliet <nouveau@spliet.org>
Mon, 13 Apr 2020 08:20:34 +0000 (10:20 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 2 May 2020 15:25:56 +0000 (17:25 +0200)
commit6d0e94e46712ba888432a61cc1efcd8c01c9a49e
tree3a39f247176f9b9e29e9e57067ba2ecb433fb5cb
parentfc6fa39f320426e181efb00636ba92739cd3e0de
ALSA: hda: Explicitly permit using autosuspend if runtime PM is supported

[ Upstream commit 3ba21113bd33d49f3c300a23fc08cf114c434995 ]

This fixes runtime PM not working after a suspend-to-RAM cycle at least for
the codec-less HDA device found on NVIDIA GPUs.

BugLink: https://bugzilla.kernel.org/show_bug.cgi?id=207043
Signed-off-by: Roy Spliet <nouveau@spliet.org>
Link: https://lore.kernel.org/r/20200413082034.25166-7-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Sasha Levin <sashal@kernel.org>
sound/pci/hda/hda_intel.c