]> git.baikalelectronics.ru Git - 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)
committerTakashi Iwai <tiwai@suse.de>
Mon, 3 Aug 2020 07:28:41 +0000 (09:28 +0200)
commit31a7cd30384b67855afcb6ef419c024dc824b61f
tree69d793f2bb7c56148175c68b93605dbc99b70ebe
parent29ea79254fd7322e2f07f956c404882b0cca6868
Revert "ALSA: hda: call runtime_allow() for all hda controllers"

This reverts commit 675742d53f89 ("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: 675742d53f89 ("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>
sound/pci/hda/hda_intel.c