projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7d61cbb
)
rtc: armada38x: add range
author
Alexandre Belloni
<
[email protected]
>
Mon, 24 Sep 2018 14:25:35 +0000
(16:25 +0200)
committer
Alexandre Belloni
<
[email protected]
>
Fri, 28 Sep 2018 12:21:02 +0000
(14:21 +0200)
The RTC is a 32bit seconds counter.
Signed-off-by: Alexandre Belloni <
[email protected]
>
Tested-by: Gregory CLEMENT <
[email protected]
>
Signed-off-by: Alexandre Belloni <
[email protected]
>
drivers/rtc/rtc-armada38x.c
patch
|
blob
|
history
diff --git
a/drivers/rtc/rtc-armada38x.c
b/drivers/rtc/rtc-armada38x.c
index b74338d6dde60fe554b35838a03d9dea4fe7bd82..d0278ad0a7f9c2d288a1c48b8d28bf438357419c 100644
(file)
--- a/
drivers/rtc/rtc-armada38x.c
+++ b/
drivers/rtc/rtc-armada38x.c
@@
-577,6
+577,8
@@
static __init int armada38x_rtc_probe(struct platform_device *pdev)
/* Update RTC-MBUS bridge timing parameters */
rtc->data->update_mbus_timing(rtc);
+ rtc->rtc_dev->range_max = U32_MAX;
+
ret = rtc_register_device(rtc->rtc_dev);
if (ret)
dev_err(&pdev->dev, "Failed to register RTC device: %d\n", ret);