mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-14 08:36:12 -04:00
rtc: xgene: set range
CCVR is a 32bit second counter. Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
This commit is contained in:
parent
a652e00ee1
commit
490595abfd
1 changed files with 1 additions and 0 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue