]> git.baikalelectronics.ru Git - 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)
commitc97ec808b351e8958e25af891afc4608a7211e10
treefb392b866842fd7a529805e52538677aac0060a3
parentc06e24e844839842b5d24219b17aaa87d2b42ba3
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