]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit
Revert "ALSA: hda: call runtime_allow() for all hda controllers"
authorHui Wang <hui.wang@canonical.com>
Mon, 3 Aug 2020 06:46:38 +0000 (14:46 +0800)
committerThadeu Lima de Souza Cascardo <cascardo@canonical.com>
Fri, 4 Sep 2020 19:28:41 +0000 (16:28 -0300)
commitdb239191eafe8bc84fd5516dd26d6530993e7ce0
treecc4166f85c340f8fcc6d046ea9d147803d2275ab
parenta38293a78f731c6dbd941189c9999b2e39639238
Revert "ALSA: hda: call runtime_allow() for all hda controllers"

BugLink: https://bugs.launchpad.net/bugs/1891387
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>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Ian May <ian.may@canonical.com>
Signed-off-by: Kelsey Skunberg <kelsey.skunberg@canonical.com>
sound/pci/hda/hda_intel.c