commit | 24212e46bb2a25ec7c7ef9c45a40670608a3a0f8 | [log] [tgz] |
---|---|---|
author | Takashi Iwai <tiwai@suse.de> | Wed May 16 23:45:33 2018 +0200 |
committer | Vegard Nossum <vegard.nossum@oracle.com> | Mon Jul 15 17:44:32 2024 +0000 |
tree | 92334d0d8104266c7d06e5c33ed12cb2fb47e7ba | |
parent | 3a016fed8503f04152b170bc324fd7fbbfb155e4 [diff] |
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: Takashi Iwai <tiwai@suse.de> Signed-off-by: Vegard Nossum <vegard.nossum@oracle.com>