summaryrefslogtreecommitdiff
path: root/sound/core/pcm_native.c
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2017-06-02 17:35:30 +0200
committerTakashi Iwai <tiwai@suse.de>2017-06-07 10:25:53 +0200
commitd7f910bfedd863d13ea320030fe98e42d0938ed5 (patch)
tree51ec98386371c6adead80f99ee88a42ccb6dbb19 /sound/core/pcm_native.c
parent890e2cb5d184629702a2c1a1e9631f9f64523c65 (diff)
ALSA: timer: Wrap with spinlock for queue access
For accessing the snd_timer_user queue indices, we take tu->qlock. But it's forgotten in a couple of places. The one in snd_timer_user_params() should be safe without the spinlock as the timer is already stopped. But it's better for consistency. The one in poll is just a read-out, so it's not inevitably needed, but it'd be good to make the result consistent, too. Tested-by: Alexander Potapenko <glider@google.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/core/pcm_native.c')
0 files changed, 0 insertions, 0 deletions