summaryrefslogtreecommitdiff
path: root/sound/pci
diff options
context:
space:
mode:
authorBen Hutchings <ben.hutchings@codethink.co.uk>2017-10-18 00:45:49 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-10-27 10:38:07 +0200
commitd5b657ee66a30636dbfe9fd70e175a7e0690200d (patch)
treed075bf32aa133758bf4f3fcbca9491879abe4988 /sound/pci
parent710c0b073eeb2283a6d2747a6b4babf8610921f7 (diff)
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: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'sound/pci')
0 files changed, 0 insertions, 0 deletions