Commit 490595ab authored by Alexandre Belloni's avatar Alexandre Belloni
Browse files

rtc: xgene: set range



CCVR is a 32bit second counter.

Signed-off-by: default avatarAlexandre Belloni <alexandre.belloni@bootlin.com>
parent a652e00e
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -205,6 +205,7 @@ static int xgene_rtc_probe(struct platform_device *pdev)
	/* HW does not support update faster than 1 seconds */
	pdata->rtc->uie_unsupported = 1;
	pdata->rtc->ops = &xgene_rtc_ops;
	pdata->rtc->range_max = U32_MAX;

	ret = rtc_register_device(pdata->rtc);
	if (ret) {