diff options
| author | Takashi Iwai <tiwai@suse.de> | 2017-06-02 17:35:30 +0200 |
|---|---|---|
| committer | Takashi Iwai <tiwai@suse.de> | 2017-06-07 10:25:53 +0200 |
| commit | d7f910bfedd863d13ea320030fe98e42d0938ed5 (patch) | |
| tree | 51ec98386371c6adead80f99ee88a42ccb6dbb19 /tools/perf/scripts/python/bin | |
| parent | ALSA: timer: Improve user queue reallocation (diff) | |
| download | linux-d7f910bfedd863d13ea320030fe98e42d0938ed5.tar.gz linux-d7f910bfedd863d13ea320030fe98e42d0938ed5.zip | |
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 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions
