]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: timer: Fix pause event notification
authorBen Hutchings <ben.hutchings@codethink.co.uk>
Thu, 17 May 2018 21:34:39 +0000 (22:34 +0100)
committerTakashi Iwai <tiwai@suse.de>
Fri, 18 May 2018 06:43:59 +0000 (08:43 +0200)
commit71ce3bc59ee5aa393c95c2077b146bb8d57aa9b3
tree32ca6f44bb613f895d783e6ecc93fad54fa9895f
parent789536be6e9ed12a092420ac082d61ca296e619b
ALSA: timer: Fix pause event notification

Commit b9dc94681a75 ("ALSA: timer: Call notifier in the same spinlock")
combined the start/continue and stop/pause functions, and in doing so
changed the event code for the pause case to SNDRV_TIMER_EVENT_CONTINUE.
Change it back to SNDRV_TIMER_EVENT_PAUSE.

Fixes: b9dc94681a75 ("ALSA: timer: Call notifier in the same spinlock")
Signed-off-by: Ben Hutchings <ben.hutchings@codethink.co.uk>
Cc: stable@vger.kernel.org
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/core/timer.c