WSL2-Linux-Kernel/sound
Takashi Iwai eea46a0879 ALSA: hda/hdmi: Cancel pending works before suspend
The per_pin->work might be still floating at the suspend, and this may
hit the access to the hardware at an unexpected timing.  Cancel the
work properly at the suspend callback for avoiding the buggy access.

Note that the bug doesn't trigger easily in the recent kernels since
the work is queued only when the repoll count is set, and usually it's
only at the resume callback, but it's still possible to hit in
theory.

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-4-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2021-03-10 12:52:01 +01:00
..
ac97
aoa
arm ARM updates for 5.12-rc1: 2021-02-22 14:27:07 -08:00
atmel
core ASoC: Updates for v5.12 2021-02-17 21:16:27 +01:00
drivers
firewire
hda ALSA: hda: ignore invalid NHLT table 2021-03-04 09:14:36 +01:00
i2c
isa
mips ALSA: n64: Fix return value check in n64audio_probe() 2021-02-25 10:29:13 +01:00
oss
parisc
pci ALSA: hda/hdmi: Cancel pending works before suspend 2021-03-10 12:52:01 +01:00
pcmcia
ppc
sh
soc ALSA: hda: move Intel SoundWire ACPI scan to dedicated module 2021-03-02 15:33:00 +01:00
sparc
spi
synth
usb ALSA: usb-audio: fix use after free in usb_audio_disconnect 2021-03-09 07:40:46 +01:00
x86
xen
Kconfig
Makefile
ac97_bus.c
last.c
sound_core.c