aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-sub-ui.c
diff options
context:
space:
mode:
authorTakashi Iwai <[email protected]>2022-06-17 16:40:48 +0200
committerTakashi Iwai <[email protected]>2022-06-20 09:36:02 +0200
commitf1d40433352e5d4babd59c0dd50b5f9414073ddb (patch)
treefaa2d09d3e38c6e778df9ce454d3b119961bf764 /lib/mpi/mpi-sub-ui.c
parentcd76175a2b204911a3cddef36b99e56945b6938c (diff)
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/[email protected] Signed-off-by: Takashi Iwai <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions