• Takashi Iwai's avatar
    ALSA: timer: Simplify timer hw resolution calls · fdcb5761
    Takashi Iwai authored
    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>
    fdcb5761
timer.c 54.4 KB