Searched hist:f1d40433 (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/include/sound/ |
H A D | rawmidi.h | f1d40433 Fri Jun 17 09:40:48 CDT 2022 Takashi Iwai <tiwai@suse.de> ALSA: rawmidi: Move lock to snd_rawmidi_substream
Having a lock in snd_rawmidi_runtime can be a problem especially when a substream is accessed from the outside, as the runtime creation might be racy with the external calls. As a first step for hardening, move the spinlock from snd_rawmidi_runtime to snd_rawmidi_substream.
This patch just replaces the lock calls, no real functional change is put yet.
Link: https://lore.kernel.org/r/20220617144051.18985-3-tiwai@suse.de Signed-off-by: Takashi Iwai <tiwai@suse.de>
|
/openbmc/linux/sound/core/ |
H A D | rawmidi.c | f1d40433 Fri Jun 17 09:40:48 CDT 2022 Takashi Iwai <tiwai@suse.de> ALSA: rawmidi: Move lock to snd_rawmidi_substream
Having a lock in snd_rawmidi_runtime can be a problem especially when a substream is accessed from the outside, as the runtime creation might be racy with the external calls. As a first step for hardening, move the spinlock from snd_rawmidi_runtime to snd_rawmidi_substream.
This patch just replaces the lock calls, no real functional change is put yet.
Link: https://lore.kernel.org/r/20220617144051.18985-3-tiwai@suse.de Signed-off-by: Takashi Iwai <tiwai@suse.de>
|