aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/xburst/patches-3.3/0021-rtc-jz4740-fix-hwclock-give-time-out.patch
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2012-05-27 15:01:32 +0000
committerGabor Juhos <juhosg@openwrt.org>2012-05-27 15:01:32 +0000
commit9a26e9f843132cb826555159c1b7799f083f83ff (patch)
treee079707fab87b823ce6b342b68f231b20d3e8e7b /target/linux/xburst/patches-3.3/0021-rtc-jz4740-fix-hwclock-give-time-out.patch
parent9dd7a6d9e2869078000e4d345855b5d3117fbb4e (diff)
downloadupstream-9a26e9f843132cb826555159c1b7799f083f83ff.tar.gz
upstream-9a26e9f843132cb826555159c1b7799f083f83ff.tar.bz2
upstream-9a26e9f843132cb826555159c1b7799f083f83ff.zip
xburst: add support for 3.3
SVN-Revision: 31902
Diffstat (limited to 'target/linux/xburst/patches-3.3/0021-rtc-jz4740-fix-hwclock-give-time-out.patch')
-rw-r--r--target/linux/xburst/patches-3.3/0021-rtc-jz4740-fix-hwclock-give-time-out.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/target/linux/xburst/patches-3.3/0021-rtc-jz4740-fix-hwclock-give-time-out.patch b/target/linux/xburst/patches-3.3/0021-rtc-jz4740-fix-hwclock-give-time-out.patch
new file mode 100644
index 0000000000..b68033d3bc
--- /dev/null
+++ b/target/linux/xburst/patches-3.3/0021-rtc-jz4740-fix-hwclock-give-time-out.patch
@@ -0,0 +1,20 @@
+From a37ca6eb8cb52d620feff3323a3be4da24f5bee8 Mon Sep 17 00:00:00 2001
+From: Xiangfu <xiangfu@openmobilefree.net>
+Date: Fri, 16 Mar 2012 17:48:45 +0800
+Subject: [PATCH 21/21] rtc: jz4740 fix hwclock give time out
+
+---
+ drivers/rtc/rtc-jz4740.c | 2 ++
+ 1 files changed, 2 insertions(+), 0 deletions(-)
+
+--- a/drivers/rtc/rtc-jz4740.c
++++ b/drivers/rtc/rtc-jz4740.c
+@@ -280,6 +280,8 @@ static int __devinit jz4740_rtc_probe(st
+ }
+ }
+
++ jz4740_rtc_ctrl_set_bits(rtc, JZ_RTC_CTRL_1HZ_IRQ, 1);
++
+ return 0;
+
+ err_free_irq: