summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorBenoît Thébaudeau <[email protected]>2012-08-14 05:01:21 +0000
committerAlbert ARIBAUD <[email protected]>2012-09-01 14:58:26 +0200
commit68d919d42053af99c5220d0469aa4b3de2ae1c55 (patch)
tree01eb70f50d175cad48dbbd8030dfe4f7d09a0ae2 /include
parentf2d3ae0739617a671c09297dc49bf6d92b4c8bdc (diff)
mx5/6 timer: Round up tick_to_time() value
Round up tick_to_time() value instead of truncating it. This avoids stopping waits instantly for low usec values, and this generally guarantees that the code always waits for at least the requested duration. Signed-off-by: Benoît Thébaudeau <[email protected]> Cc: Stefano Babic <[email protected]> Acked-by: Stefano Babic <[email protected]>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions