Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e866cbdf authored by Alexandre Belloni's avatar Alexandre Belloni
Browse files

rtc: tx4939: set range



The TX4939 RTC is a 48bit counter that counts two on every clock edge of
32.768 KHz oscillator clock so it counts 32bit seconds.

Signed-off-by: default avatarAlexandre Belloni <alexandre.belloni@bootlin.com>
parent 72d38197
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -276,6 +276,7 @@ static int __init tx4939_rtc_probe(struct platform_device *pdev)

	rtc->ops = &tx4939_rtc_ops;
	rtc->nvram_old_abi = true;
	rtc->range_max = U32_MAX;

	pdata->rtc = rtc;