diff options
| author | Takashi Iwai <tiwai@suse.de> | 2016-02-10 12:47:03 +0100 |
|---|---|---|
| committer | Srinivasa Rao Kuppala <srkupp@codeaurora.org> | 2018-01-04 10:52:59 +0530 |
| commit | 4255cc0675d41c15d5631b30428507415b090974 (patch) | |
| tree | 17ae06dee0cfac11a342f3e87e64e25557fdc905 /lib/mpi/mpiutil.c | |
| parent | 55cc722ec6725f7547071a396606f6a04b9a75e8 (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
Git-commit: fe9cd48f4b3273dc1c9e52567edb4e77dafa45d8
Git-repo: https://android.googlesource.com/kernel/msm.git
Change-Id: Ib90099f88c8b04928a8cdd2808cd9e16da6d519c
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Siqi Lin <siqilin@google.com>
Signed-off-by: Srinivasa Rao Kuppala <srkupp@codeaurora.org>
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions
