ALSA: timer: Introduce disconnect op to snd_timer_instance
authorTakashi Iwai <tiwai@suse.de>
Thu, 21 Jan 2016 16:43:08 +0000 (17:43 +0100)
committerTakashi Iwai <tiwai@suse.de>
Thu, 21 Jan 2016 16:51:42 +0000 (17:51 +0100)
commit40ed9444cd2421cceedb35bb8d8ff913a5ae1ac3
tree101052484faf68fcb87959730793d3518731abe6
parent230323dac060123c340cf75997971145a42661ee
ALSA: timer: Introduce disconnect op to snd_timer_instance

Instead of the previous ugly hack, introduce a new op, disconnect, to
snd_timer_instance object for handling the wake up of pending tasks
more cleanly.

Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=109431
Signed-off-by: Takashi Iwai <tiwai@suse.de>
include/sound/timer.h
sound/core/timer.c