From b1b686e4b0d165ae7c1e356ecf8da790ee8f8dcf Mon Sep 17 00:00:00 2001 From: Alexandre Belloni Date: Fri, 6 Mar 2020 01:59:57 +0100 Subject: rtc: au1xxx: set range The Alchemy counter0 is a 32bit seconds counter. Link: https://lore.kernel.org/r/20200306005958.39203-3-alexandre.belloni@bootlin.com Signed-off-by: Alexandre Belloni --- drivers/rtc/rtc-au1xxx.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/rtc/rtc-au1xxx.c b/drivers/rtc/rtc-au1xxx.c index 73aeb15f9491..e186fb5cfffd 100644 --- a/drivers/rtc/rtc-au1xxx.c +++ b/drivers/rtc/rtc-au1xxx.c @@ -100,6 +100,7 @@ static int au1xtoy_rtc_probe(struct platform_device *pdev) return PTR_ERR(rtcdev); rtcdev->ops = &au1xtoy_rtc_ops; + rtcdev->range_max = U32_MAX; platform_set_drvdata(pdev, rtcdev); -- cgit 1.4.1