]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: hda: Fix hang during shutdown due to link reset
authorImre Deak <imre.deak@intel.com>
Mon, 16 Aug 2021 17:42:59 +0000 (20:42 +0300)
committerTakashi Iwai <tiwai@suse.de>
Tue, 17 Aug 2021 05:14:30 +0000 (07:14 +0200)
commit4679c66f7b0d9d44dd3d187c72583117d7695e83
treeb6d81f7c4798229e3ff2f87802e00bb49f6bed9d
parent44581d106184ca7afbd9a89c3be9ac3f7268a6cd
ALSA: hda: Fix hang during shutdown due to link reset

During system shutdown codecs may be still active, and resetting the
controller->codec HW link in this state - based on the bug reporter's
tests - leads to the shutdown sequence to get stuck. This happens at
least on the reporter's KBL system with an ALC662 codec.

For now fix the issue by skipping the link reset step.

Fixes: 23bad07acbce ("ALSA: hda: Release controller display power during shutdown/reboot")
References: https://bugzilla.kernel.org/show_bug.cgi?id=214045
References: https://gitlab.freedesktop.org/drm/intel/-/issues/3618#note_1024665
Reported-and-tested-by: youling257@gmail.com
Cc: youling257@gmail.com
Signed-off-by: Imre Deak <imre.deak@intel.com>
Link: https://lore.kernel.org/r/20210816174259.2759103-1-imre.deak@intel.com
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/hda_intel.c