• Takashi Iwai's avatar
    ALSA: timer: Unify timer callback process code · 8748b850
    Takashi Iwai authored
    The timer core has two almost identical code for processing callbacks:
    once in snd_timer_interrupt() for fast callbacks and another in
    snd_timer_tasklet() for delayed callbacks.  Let's unify them.
    
    In the new version, the resolution is read from ti->resolution at each
    call, and this must be fine; ti->resolution is set in the preparation
    step in snd_timer_interrupt().
    Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
    8748b850
timer.c 54.5 KB