Skip to content

Commit

Permalink
ALSA: hda: Reinstate runtime_allow() for all hda controllers
Browse files Browse the repository at this point in the history
BugLink: https://bugs.launchpad.net/bugs/1904595

The broken jack detection should be fixed by commit a6e7d0a ("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 9fc149c)
Signed-off-by: Kai-Heng Feng <kai.heng.feng@canonical.com>
Signed-off-by: Timo Aaltonen <timo.aaltonen@canonical.com>
  • Loading branch information
Kai-Heng Feng authored and Timo Aaltonen committed Dec 10, 2020
1 parent 18cd3c7 commit f56e7c2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions sound/pci/hda/hda_intel.c
Original file line number Diff line number Diff line change
Expand Up @@ -2362,6 +2362,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);
}

Expand Down

0 comments on commit f56e7c2

Please sign in to comment.