]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
ALSA: echoaudio: Prevent races in calls to set_audio_format()
authorMark Hills <mark@xwax.org>
Wed, 8 Jul 2020 10:18:46 +0000 (11:18 +0100)
committerTakashi Iwai <tiwai@suse.de>
Thu, 9 Jul 2020 10:58:51 +0000 (12:58 +0200)
commit6c331254487306a633a3d8636ca78eb77a73906a
treefb392b866842fd7a529805e52538677aac0060a3
parent027c70021b905eb23e2f36c64add062ba218b841
ALSA: echoaudio: Prevent races in calls to set_audio_format()

The function uses chip->comm_page which needs locking against
other use at the same time.

Signed-off-by: Mark Hills <mark@xwax.org>
Link: https://lore.kernel.org/r/20200708101848.3457-3-mark@xwax.org
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/echoaudio/echoaudio.c