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>
This commit is contained in:
Alexandre Belloni 2020-03-06 01:59:57 +01:00
parent 9cf71edb02
commit b1b686e4b0

View File

@ -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);