summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexandre Belloni <alexandre.belloni@bootlin.com>2018-07-25 15:17:44 +0200
committerAlexandre Belloni <alexandre.belloni@bootlin.com>2018-07-25 15:29:43 +0200
commit1f28231c66b5381c07b4ff0ca919387d060d6f1b (patch)
treef1323d494cf2125318921dffe7d4ab46bc9e88b4
parent7e580769b79f1df2ac67cf935ee95ac1d42b8144 (diff)
downloadlinux-stable-1f28231c66b5381c07b4ff0ca919387d060d6f1b.tar.gz
linux-stable-1f28231c66b5381c07b4ff0ca919387d060d6f1b.tar.bz2
linux-stable-1f28231c66b5381c07b4ff0ca919387d060d6f1b.zip
rtc: sa1100: don't set PIE frequency
It doesn't make sense to set the PIE frequency from the driver. Let userspace do its job. Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
-rw-r--r--drivers/rtc/rtc-sa1100.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/rtc/rtc-sa1100.c b/drivers/rtc/rtc-sa1100.c
index ed71d1113627..304d905cb23f 100644
--- 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().