1
0
Fork 0

rtc: lpc32xx: set range

The LPC32xx RTC is a 32bit second counter.

Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
hifive-unleashed-5.2
Alexandre Belloni 2019-04-09 12:16:27 +02:00
parent 6bbad585fd
commit 3a13426908
1 changed files with 1 additions and 0 deletions

View File

@ -259,6 +259,7 @@ static int lpc32xx_rtc_probe(struct platform_device *pdev)
return PTR_ERR(rtc->rtc);
rtc->rtc->ops = &lpc32xx_rtc_ops;
rtc->rtc->range_max = U32_MAX;
err = rtc_register_device(rtc->rtc);
if (err)