summaryrefslogtreecommitdiffstats
path: root/sound
diff options
context:
space:
mode:
authorKai-Heng Feng <kai.heng.feng@canonical.com>2020-10-27 21:00:38 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-11-18 19:22:10 +0100
commit764ec5a8de54415b80183291259e3cd69dc03d7b (patch)
treee68501b84d47eb97985699e805e048c6bcbd9ac7 /sound
parenta34084ba9a38824a2dbd1339b11ebb31a3665b72 (diff)
downloadlinux-stable-764ec5a8de54415b80183291259e3cd69dc03d7b.tar.gz
linux-stable-764ec5a8de54415b80183291259e3cd69dc03d7b.tar.bz2
linux-stable-764ec5a8de54415b80183291259e3cd69dc03d7b.zip
ALSA: hda: Reinstate runtime_allow() for all hda controllers
[ Upstream commit 9fc149c3bce7bdbb94948a8e6bd025e3b3538603 ] The broken jack detection should be fixed by commit a6e7d0a4bdb0 ("ALSA: hda: fix jack detection with Realtek codecs when in D3"), let's try enabling runtime PM by default again. Signed-off-by: Kai-Heng Feng <kai.heng.feng@canonical.com> Link: https://lore.kernel.org/r/20201027130038.16463-4-kai.heng.feng@canonical.com Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'sound')
-rw-r--r--sound/pci/hda/hda_intel.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/pci/hda/hda_intel.c b/sound/pci/hda/hda_intel.c
index 268e9ead9795..0ae0290eb2bf 100644
--- a/sound/pci/hda/hda_intel.c
+++ b/sound/pci/hda/hda_intel.c
@@ -2361,6 +2361,7 @@ static int azx_probe_continue(struct azx *chip)
if (azx_has_pm_runtime(chip)) {
pm_runtime_use_autosuspend(&pci->dev);
+ pm_runtime_allow(&pci->dev);
pm_runtime_put_autosuspend(&pci->dev);
}