summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexandre Belloni <alexandre.belloni@bootlin.com>2020-03-06 02:02:38 +0100
committerAlexandre Belloni <alexandre.belloni@bootlin.com>2020-03-16 11:12:11 +0100
commita04b3b965f3d5a1b0b00c2b546b30ee09ce112db (patch)
treec984d5521d53af238a7f135cdb22c222d3d4cf45
parenta5965a31012f3e80105eb759fa69eded6a813a4b (diff)
rtc: puv3: set range
This RTC is a 32bit seconds counter. Link: https://lore.kernel.org/r/20200306010240.40056-1-alexandre.belloni@bootlin.com Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
-rw-r--r--drivers/rtc/rtc-puv3.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/rtc/rtc-puv3.c b/drivers/rtc/rtc-puv3.c
index 89ff713163dd..3029a52a501e 100644
--- a/drivers/rtc/rtc-puv3.c
+++ b/drivers/rtc/rtc-puv3.c
@@ -234,6 +234,7 @@ static int puv3_rtc_probe(struct platform_device *pdev)
/* register RTC and exit */
rtc->ops = &puv3_rtcops;
+ rtc->range_max = U32_MAX;
ret = rtc_register_device(rtc);
if (ret)
goto err_nortc;