diff options
author | Alexandre Belloni <alexandre.belloni@bootlin.com> | 2020-03-06 03:59:57 +0300 |
---|---|---|
committer | Alexandre Belloni <alexandre.belloni@bootlin.com> | 2020-03-16 13:12:09 +0300 |
commit | b1b686e4b0d165ae7c1e356ecf8da790ee8f8dcf (patch) | |
tree | 307603f3460db94e7198331ce2b17b74c3ff97b5 /drivers/rtc | |
parent | 9cf71edb024a919a8ed8957748885d1e1e8d231a (diff) | |
download | linux-b1b686e4b0d165ae7c1e356ecf8da790ee8f8dcf.tar.xz |
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 <alexandre.belloni@bootlin.com>
Diffstat (limited to 'drivers/rtc')
-rw-r--r-- | drivers/rtc/rtc-au1xxx.c | 1 |
1 files changed, 1 insertions, 0 deletions
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); |