ALSA: hda: Drop workaround for a hang at shutdown again
authorTakashi Iwai <tiwai@suse.de>
Tue, 17 Aug 2021 07:56:30 +0000 (09:56 +0200)
committerTakashi Iwai <tiwai@suse.de>
Tue, 17 Aug 2021 07:56:55 +0000 (09:56 +0200)
commit8fc8e903156f42c66245838441d03607e9067381
tree4be33f2fe4d5a4360ddcc00335661055909c7211
parentc0a7f9372cf0fc9bd0a73eb287664e26e5b18f1e
ALSA: hda: Drop workaround for a hang at shutdown again

The commit 0165c4e19f6e ("ALSA: hda: Fix hang during shutdown due to
link reset") modified the shutdown callback of the HD-audio controller
for working around a hang.  Meanwhile, the actual culprit of the hang
was identified to be the leftover active codecs that may interfere
with the powered down controller somehow, but we took a minimal fix
approach for 5.14, and that was the commit above.

Now, since the codec drivers go runtime-suspend at shutdown for 5.15,
we can revert the change and make sure that the full runtime-suspend
is performed at shutdown of HD-audio controller again.  This patch
essentially reverts the commit above to restore the behavior.

BugLink: https://bugzilla.kernel.org/show_bug.cgi?id=214045
Link: https://lore.kernel.org/r/20210817075630.7115-1-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/hda_intel.c