mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-15 16:53:54 +08:00
rtc: pm8xxx: set range
The pm8xxx are 32bit seconds counter. Link: https://lore.kernel.org/r/20200306073758.58050-2-alexandre.belloni@bootlin.com Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
This commit is contained in:
parent
d5d55b7098
commit
3cfe526077
@ -491,6 +491,7 @@ static int pm8xxx_rtc_probe(struct platform_device *pdev)
|
||||
return PTR_ERR(rtc_dd->rtc);
|
||||
|
||||
rtc_dd->rtc->ops = &pm8xxx_rtc_ops;
|
||||
rtc_dd->rtc->range_max = U32_MAX;
|
||||
|
||||
/* Request the alarm IRQ */
|
||||
rc = devm_request_any_context_irq(&pdev->dev, rtc_dd->rtc_alarm_irq,
|
||||
|
Loading…
Reference in New Issue
Block a user