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)
commit6dd1c05cd7c26a463bbcca1ab50b59b86d88de64
tree29e2fe0f3fdc81594c981580b0d0798d2cf8ee72
parent8a3b7c086a509d90c312ebab6d8e5a9bf48c6cf5
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