]> 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)
commit5ec65b86e82b930cb97393274048e346b954798e
treefb392b866842fd7a529805e52538677aac0060a3
parent202aa42d179e81f230d846e5c3d7bbb9d215a116
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