commit | fdcb5761c1580b03fb1ab8625eaa7db03fb8b7d0 | [log] [tgz] |
---|---|---|
author | Takashi Iwai <tiwai@suse.de> | Wed May 16 23:45:33 2018 +0200 |
committer | Takashi Iwai <tiwai@suse.de> | Fri May 18 08:49:12 2018 +0200 |
tree | dfd86e8f8fe6f9eea12a57eeb16be462e98f4bd3 | |
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>