Skip to content
Commit 8748b850 authored by Takashi Iwai's avatar Takashi Iwai
Browse files

ALSA: timer: Unify timer callback process code



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>
parent e42dd3ee
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment