Skip to content
Commit 5996a8a8 authored by Stefan Roese's avatar Stefan Roese
Browse files

timer: orion-timer: Use timer_conv_64() to fix timer wrap around



While testing on some Kirkwood platforms it was noticed that the timer
did not function correctly all the time. The driver did not correctly
handle 32bit timer value wrap arounds. Using the timer_conv_64()
conversion function fixes this issue.

Fixes: e9e73d78 ("timer: add orion-timer support")
Suggested-by: default avatarStefan Herbrechtsmeier <stefan.herbrechtsmeier-oss@weidmueller.com>
Signed-off-by: default avatarStefan Roese <sr@denx.de>
Tested-by: default avatarTony Dinh <mibodhi@gmail.com>
parent 711b5fd2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment