commit | 8009d506a1dd00cf436b0c4cca0dcec130580a21 | [log] [tgz] |
---|---|---|
author | Ben Hutchings <ben.hutchings@codethink.co.uk> | Wed Oct 18 00:45:49 2017 +0100 |
committer | Takashi Iwai <tiwai@suse.de> | Wed Oct 18 08:01:46 2017 +0200 |
tree | 209ca105955d913807eb48c6246f275b63c42e50 | |
parent | 9bb201a5d5acc733943e8af7151cceab9d976a69 [diff] |
ALSA: seq: Enable 'use' locking in all configurations 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. Cc: stable@vger.kernel.org Signed-off-by: Ben Hutchings <ben.hutchings@codethink.co.uk> Signed-off-by: Takashi Iwai <tiwai@suse.de>