]> git.proxmox.com Git - mirror_ubuntu-bionic-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)
committerKleber Sacilotto de Souza <kleber.souza@canonical.com>
Mon, 27 Aug 2018 14:40:05 +0000 (16:40 +0200)
commit837603d51030f50f3a2a81c21e5f19c66f86f3e1
treee3dbb7392ba0cbb856d466bdc88a403481cfcb5a
parentd83b53e2d696580bfcd946e53d35fced5f7605f0
ALSA: timer: Fix pause event notification

BugLink: http://bugs.launchpad.net/bugs/1786352
commit 3ae180972564846e6d794e3615e1ab0a1e6c4ef9 upstream.

Commit f65e0d299807 ("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: f65e0d299807 ("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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Khalid Elmously <khalid.elmously@canonical.com>
sound/core/timer.c