aboutsummaryrefslogtreecommitdiff
path: root/drivers/timer/xilinx-timer.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/timer/xilinx-timer.c')
-rw-r--r--drivers/timer/xilinx-timer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/timer/xilinx-timer.c b/drivers/timer/xilinx-timer.c
index 75b4473b63..172fd9f929 100644
--- a/drivers/timer/xilinx-timer.c
+++ b/drivers/timer/xilinx-timer.c
@@ -40,7 +40,7 @@ static u64 xilinx_timer_get_count(struct udevice *dev)
regmap_read(priv->regs, TIMER_COUNTER_OFFSET, &value);
- return value;
+ return timer_conv_64(value);
}
static int xilinx_timer_probe(struct udevice *dev)