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

ALSA: timer: Simplify timer hw resolution calls



There multiple open-codes to get the hardware timer resolution.
Make a local helper function snd_timer_hw_resolution() and call it
from all relevant places.

There is no functional change by this, just a preliminary work for the
following timer resolution hardening patch.

Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent 3ae18097
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