aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorTakashi Iwai <[email protected]>2017-06-02 17:35:30 +0200
committerTakashi Iwai <[email protected]>2017-06-07 10:25:53 +0200
commitd7f910bfedd863d13ea320030fe98e42d0938ed5 (patch)
tree51ec98386371c6adead80f99ee88a42ccb6dbb19 /tools/perf/scripts/python
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 <[email protected]> Signed-off-by: Takashi Iwai <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions