]> 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)
commit9fc4469c569241040573e59353bf1b843b956a11
treeb6d81f7c4798229e3ff2f87802e00bb49f6bed9d
parentf1a37376a315263ee158bb04a25fd79f3c62b1e5
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: 143064448a08 ("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