]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: sb: Convert timers to use timer_setup()
authorKees Cook <keescook@chromium.org>
Tue, 24 Oct 2017 15:34:58 +0000 (08:34 -0700)
committerTakashi Iwai <tiwai@suse.de>
Wed, 25 Oct 2017 07:51:21 +0000 (09:51 +0200)
commite0a69cc2440fa4533a82b823c33c5ee7610c5420
tree1d6cf9500b82aeceb704427768b936fdabfbd771
parent685f30bb54771a2709058d74426cf0fb055e99f7
ALSA: sb: 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.

[Re-use the existing chip->midi_substream_output instead of assigning
 a new field to struct snd_sb -- tiwai]

Signed-off-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/isa/sb/emu8000_pcm.c
sound/isa/sb/sb8_midi.c