Commit 0ef7436
committed
ALSA: usb-audio: Add spinlock to stop_urbs()
In theory, stop_urbs() may be called concurrently.
Although we have the state check beforehand, it's safer to apply
ep->lock during the critical list head manipulations.
Link: https://lore.kernel.org/r/20210929080844.11583-8-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>1 parent d215f63 commit 0ef7436
1 file changed
+3
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
927 | 927 | | |
928 | 928 | | |
929 | 929 | | |
| 930 | + | |
930 | 931 | | |
931 | 932 | | |
932 | 933 | | |
933 | 934 | | |
934 | 935 | | |
935 | 936 | | |
936 | 937 | | |
| 938 | + | |
937 | 939 | | |
938 | 940 | | |
939 | 941 | | |
| 942 | + | |
940 | 943 | | |
941 | 944 | | |
942 | 945 | | |
| |||
0 commit comments