Skip to content
Commit 21244e3d authored by Takashi Iwai's avatar Takashi Iwai
Browse files

ALSA: seq: Avoid open-code for getting timer resolution



Instead of open-coding for getting the timer resolution, use the
standard snd_timer_resolution() helper.

The original code falls back to the callback function when the
resolution is zero, but it must be always so when the callback
function is defined.  So this should be no functional change.

Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent fdcb5761
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment