diff mbox series

[G/OEM-5.6,4/4] ALSA: hda: Reinstate runtime_allow() for all hda controllers

Message ID 20201117165429.1231318-5-kai.heng.feng@canonical.com
State New
Headers show
Series Fix no headset sound after S3 on Intel HDA | expand

Commit Message

Kai-Heng Feng Nov. 17, 2020, 4:54 p.m. UTC
BugLink: https://bugs.launchpad.net/bugs/1904595

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>
(cherry picked from commit 9fc149c3bce7bdbb94948a8e6bd025e3b3538603)
Signed-off-by: Kai-Heng Feng <kai.heng.feng@canonical.com>
 sound/pci/hda/hda_intel.c | 1 +
 1 file changed, 1 insertion(+)
diff mbox series


diff --git a/sound/pci/hda/hda_intel.c b/sound/pci/hda/hda_intel.c
index 031b8ba82fae..fb9b6c005317 100644
--- a/sound/pci/hda/hda_intel.c
+++ b/sound/pci/hda/hda_intel.c
@@ -2362,6 +2362,7 @@  static int azx_probe_continue(struct azx *chip)
 	if (azx_has_pm_runtime(chip)) {
+		pm_runtime_allow(&pci->dev);