diff options
author | Takashi Iwai <tiwai@suse.de> | 2018-05-17 10:43:16 +0200 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2018-05-18 08:49:13 +0200 |
commit | 21244e3d6a9d36f32a2aa40f8948324c7b5f35b0 (patch) | |
tree | ecfddc3b35ba0a60d535871e003446a02532bafd /sound/core/timer.c | |
parent | fdcb5761c1580b03fb1ab8625eaa7db03fb8b7d0 (diff) |
ALSA: seq: Avoid open-code for getting timer resolution
Instead of open-coding for getting the timer resolution, use the
standard snd_timer_resolution() helper.
The original code falls back to the callback function when the
resolution is zero, but it must be always so when the callback
function is defined. So this should be no functional change.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/core/timer.c')
0 files changed, 0 insertions, 0 deletions