mirror of
https://github.com/torvalds/linux.git
synced 2026-03-08 06:04:44 +01:00
rtc: at91sam9: set range
The AT91 RTT is a 32bit second counter that is saved in a 32bit global purpose register. Acked-by: Nicolas Ferre <nicolas.ferre@microchip.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
This commit is contained in:
parent
6c7293e729
commit
255c43ca01
1 changed files with 1 additions and 0 deletions
|
|
@ -425,6 +425,7 @@ static int at91_rtc_probe(struct platform_device *pdev)
|
|||
}
|
||||
|
||||
rtc->rtcdev->ops = &at91_rtc_ops;
|
||||
rtc->rtcdev->range_max = U32_MAX;
|
||||
|
||||
/* register irq handler after we know what name we'll use */
|
||||
ret = devm_request_irq(&pdev->dev, rtc->irq, at91_rtc_interrupt,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue