aboutsummaryrefslogtreecommitdiff
path: root/include/linux/workqueue.h
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2016-02-10 12:47:03 +0100
committerMister Oyster <oysterized@gmail.com>2017-12-08 17:55:29 +0100
commit780c9db15c619f9ef35c6aff1434245d1eeb44c1 (patch)
tree74d028aaa39dd45388ccdd515617ce45ca17cd02 /include/linux/workqueue.h
parentf230e8d0341012b9a41072abd14c0facaf24dff2 (diff)
UPSTREAM: ALSA: timer: Call notifier in the same spinlock
snd_timer_notify1() is called outside the spinlock and it retakes the lock after the unlock. This is rather racy, and it's safer to move snd_timer_notify() call inside the main spinlock. The patch also contains a slight refactoring / cleanup of the code. Now all start/stop/continue/pause look more symmetric and a bit better readable. Bug: 37240993 Change-Id: Ib90099f88c8b04928a8cdd2808cd9e16da6d519c Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Siqi Lin <siqilin@google.com>
Diffstat (limited to 'include/linux/workqueue.h')
0 files changed, 0 insertions, 0 deletions