diff options
author | Ben Hutchings <ben.hutchings@codethink.co.uk> | 2017-10-18 02:45:49 +0300 |
---|---|---|
committer | Ben Hutchings <ben@decadent.org.uk> | 2017-11-11 16:34:40 +0300 |
commit | d8b2e551d8ecfe59c667923892a50d6ac469ce94 (patch) | |
tree | 9cc788a6d2b57cbeaa10151012924dbb60162cdd /mm | |
parent | 7c27b82fad16d2804c7c8405316a636f57edeabd (diff) | |
download | linux-d8b2e551d8ecfe59c667923892a50d6ac469ce94.tar.xz |
ALSA: seq: Enable 'use' locking in all configurations
commit 8009d506a1dd00cf436b0c4cca0dcec130580a21 upstream.
The 'use' locking macros are no-ops if neither SMP or SND_DEBUG is
enabled. This might once have been OK in non-preemptible
configurations, but even in that case snd_seq_read() may sleep while
relying on a 'use' lock. So always use the proper implementations.
Signed-off-by: Ben Hutchings <ben.hutchings@codethink.co.uk>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Diffstat (limited to 'mm')
0 files changed, 0 insertions, 0 deletions