summaryrefslogtreecommitdiffstats
path: root/sound/pci
diff options
context:
space:
mode:
authorHui Wang <hui.wang@canonical.com>2020-08-03 14:46:38 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-08-11 15:32:30 +0200
commit21e7fc3f69daa0fd2974edcaa02590c1df81889f (patch)
treeb9dbd6333da6f9f3391a5eccb7200d94b2559a21 /sound/pci
parent8efb2159c956a28b892fd4c169729b2959c25483 (diff)
downloadlinux-stable-21e7fc3f69daa0fd2974edcaa02590c1df81889f.tar.gz
linux-stable-21e7fc3f69daa0fd2974edcaa02590c1df81889f.tar.bz2
linux-stable-21e7fc3f69daa0fd2974edcaa02590c1df81889f.zip
Revert "ALSA: hda: call runtime_allow() for all hda controllers"
commit 07c9983b567d0ef33aefc063299de95a987e12a8 upstream. This reverts commit 9a6418487b56 ("ALSA: hda: call runtime_allow() for all hda controllers"). The reverted patch already introduced some regressions on some machines: - on gemini-lake machines, the error of "azx_get_response timeout" happens in the hda driver. - on the machines with alc662 codec, the audio jack detection doesn't work anymore. Fixes: 9a6418487b56 ("ALSA: hda: call runtime_allow() for all hda controllers") BugLink: https://bugzilla.kernel.org/show_bug.cgi?id=208511 Cc: <stable@vger.kernel.org> Signed-off-by: Hui Wang <hui.wang@canonical.com> Link: https://lore.kernel.org/r/20200803064638.6139-1-hui.wang@canonical.com Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'sound/pci')
-rw-r--r--sound/pci/hda/hda_intel.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/sound/pci/hda/hda_intel.c b/sound/pci/hda/hda_intel.c
index 8e1eb5f243a2..d43245937db7 100644
--- a/sound/pci/hda/hda_intel.c
+++ b/sound/pci/hda/hda_intel.c
@@ -2478,7 +2478,6 @@ 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);
}