diff options
author | Takashi Iwai <tiwai@suse.de> | 2018-05-16 23:45:33 +0200 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2018-05-18 08:49:12 +0200 |
commit | fdcb5761c1580b03fb1ab8625eaa7db03fb8b7d0 (patch) | |
tree | dfd86e8f8fe6f9eea12a57eeb16be462e98f4bd3 /init | |
parent | 3ae180972564846e6d794e3615e1ab0a1e6c4ef9 (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>
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions