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 06:48:56 +0000 (08:48 +0200)
commita323f69d00c61125386e96fa61cdea145c37b23c
tree452134d4237eabb67f3ab7a224fefd275499aec7
parentbd074af53cb640c0d62d39dc30c77b675601000b
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