Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

rtc: digicolor: set range

While the range of REFERENCE + TIME is actually 33 bits, the counter
itself (TIME) is a 32-bits seconds counter.

Acked-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>

+1
+1
drivers/rtc/rtc-digicolor.c
··· 206 206 platform_set_drvdata(pdev, rtc); 207 207 208 208 rtc->rtc_dev->ops = &dc_rtc_ops; 209 + rtc->rtc_dev->range_max = U32_MAX; 209 210 210 211 return rtc_register_device(rtc->rtc_dev); 211 212 }