summaryrefslogtreecommitdiffstats
path: root/sound/sh
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2021-03-10 12:28:07 +0100
committerTakashi Iwai <tiwai@suse.de>2021-03-10 12:51:32 +0100
commit13661fc48461282e43fe8f76bf5bf449b3d40687 (patch)
tree5db30a91b3a929ad2ddfd8ae5481a8e9e60a0162 /sound/sh
parentALSA: usb-audio: fix use after free in usb_audio_disconnect (diff)
downloadlinux-13661fc48461282e43fe8f76bf5bf449b3d40687.tar.xz
linux-13661fc48461282e43fe8f76bf5bf449b3d40687.zip
ALSA: hda: Flush pending unsolicited events before suspend
The HD-audio controller driver processes the unsolicited events via its work asynchronously, and this might be pending when the system goes to suspend. When a lengthy event handling like ELD byte reads is running, this might trigger unexpected accesses among suspend/resume procedure, typically seen with Nvidia driver that still requires the handling via unsolicited event verbs for ELD updates. This patch adds the flush of unsol_work to assure that pending events are processed before going into suspend. Buglink: https://bugzilla.suse.com/show_bug.cgi?id=1182377 Reported-and-tested-by: Abhishek Sahu <abhsahu@nvidia.com> Cc: <stable@vger.kernel.org> Link: https://lore.kernel.org/r/20210310112809.9215-2-tiwai@suse.de Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/sh')
0 files changed, 0 insertions, 0 deletions