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:
7e58076
)
rtc: sa1100: don't set PIE frequency
author
Alexandre Belloni
<
[email protected]
>
Wed, 25 Jul 2018 13:17:44 +0000
(15:17 +0200)
committer
Alexandre Belloni
<
[email protected]
>
Wed, 25 Jul 2018 13:29:43 +0000
(15:29 +0200)
It doesn't make sense to set the PIE frequency from the driver. Let
userspace do its job.
Signed-off-by: Alexandre Belloni <
[email protected]
>
drivers/rtc/rtc-sa1100.c
patch
|
blob
|
history
diff --git
a/drivers/rtc/rtc-sa1100.c
b/drivers/rtc/rtc-sa1100.c
index ed71d11136276d1259e976bb0814909726d1f75a..304d905cb23fd20240cdb8b4953310cb5d1a1609 100644
(file)
--- a/
drivers/rtc/rtc-sa1100.c
+++ b/
drivers/rtc/rtc-sa1100.c
@@
-224,7
+224,6
@@
int sa1100_rtc_init(struct platform_device *pdev, struct sa1100_rtc *info)
info->rtc = rtc;
rtc->max_user_freq = RTC_FREQ;
- rtc_irq_set_freq(rtc, NULL, RTC_FREQ);
/* Fix for a nasty initialization problem the in SA11xx RTSR register.
* See also the comments in sa1100_rtc_interrupt().