]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: line6/toneport: Move setup_timer() at the beginning
authorTakashi Iwai <tiwai@suse.de>
Tue, 20 Jan 2015 08:40:20 +0000 (09:40 +0100)
committerTakashi Iwai <tiwai@suse.de>
Wed, 28 Jan 2015 06:19:47 +0000 (07:19 +0100)
commit2dc5e4b003c6e9139ee26d21966597f46a76c79d
tree29e2fe0f3fdc81594c981580b0d0798d2cf8ee72
parent97af53d60b57fedcd3424c0f0064c153e44ea6a0
ALSA: line6/toneport: Move setup_timer() at the beginning

... so that timer_del_sync() in the destructor can be called safely at
any time.  Also move the mod_timer() call in toneport_setup(), which
is a bit clearer place.

Tested-by: Chris Rorvick <chris@rorvick.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/usb/line6/toneport.c