]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
ALSA: timer: Convert timers to use timer_setup()
authorKees Cook <keescook@chromium.org>
Thu, 5 Oct 2017 00:53:33 +0000 (17:53 -0700)
committerTakashi Iwai <tiwai@suse.de>
Thu, 5 Oct 2017 06:20:37 +0000 (08:20 +0200)
commit38e9a80f66beb108d30f47dc856dd17b983c3dd6
tree94c07160fe94e47055ad7e8343ec8d06810bba26
parentd522bb6a105ffabeb765ad890062199fd4d18245
ALSA: timer: Convert timers to use timer_setup()

In preparation for unconditionally passing the struct timer_list pointer to
all timer callbacks, switch to using the new timer_setup() and from_timer()
to pass the timer pointer explicitly. This adds a pointer back to struct
snd_timer.

Signed-off-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/core/timer.c