Skip to content

Commit

Permalink
rtc: au1xxx: set range
Browse files Browse the repository at this point in the history
The Alchemy counter0 is a 32bit seconds counter.

Link: https://lore.kernel.org/r/20200306005958.39203-3-alexandre.belloni@bootlin.com
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
  • Loading branch information
Alexandre Belloni committed Mar 16, 2020
1 parent 9cf71ed commit b1b686e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/rtc/rtc-au1xxx.c
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@ static int au1xtoy_rtc_probe(struct platform_device *pdev)
return PTR_ERR(rtcdev);

rtcdev->ops = &au1xtoy_rtc_ops;
rtcdev->range_max = U32_MAX;

platform_set_drvdata(pdev, rtcdev);

Expand Down

0 comments on commit b1b686e

Please sign in to comment.