aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/xburst/patches-3.2/0021-rtc-jz4740-fix-hwclock-give-time-out.patch
diff options
context:
space:
mode:
authorMirko Vogt <mirko@openwrt.org>2012-04-08 12:09:52 +0000
committerMirko Vogt <mirko@openwrt.org>2012-04-08 12:09:52 +0000
commitb0971e69f2ff110d6fc6e52a601e4e87d707e758 (patch)
treed594fb132701a129c7777b38ed192e9ccbe39987 /target/linux/xburst/patches-3.2/0021-rtc-jz4740-fix-hwclock-give-time-out.patch
parent626e1717642e933af0f15a387caadb16178c0254 (diff)
downloadupstream-b0971e69f2ff110d6fc6e52a601e4e87d707e758.tar.gz
upstream-b0971e69f2ff110d6fc6e52a601e4e87d707e758.tar.bz2
upstream-b0971e69f2ff110d6fc6e52a601e4e87d707e758.zip
level up target xburst to linux kernel version 3.2.1
Thanks to the qi-hardware project - especially to Lars, Maarten and Xiangfu SVN-Revision: 31218
Diffstat (limited to 'target/linux/xburst/patches-3.2/0021-rtc-jz4740-fix-hwclock-give-time-out.patch')
-rw-r--r--target/linux/xburst/patches-3.2/0021-rtc-jz4740-fix-hwclock-give-time-out.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/target/linux/xburst/patches-3.2/0021-rtc-jz4740-fix-hwclock-give-time-out.patch b/target/linux/xburst/patches-3.2/0021-rtc-jz4740-fix-hwclock-give-time-out.patch
new file mode 100644
index 0000000000..b661f6dc3b
--- /dev/null
+++ b/target/linux/xburst/patches-3.2/0021-rtc-jz4740-fix-hwclock-give-time-out.patch
@@ -0,0 +1,25 @@
+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(-)
+
+diff --git a/drivers/rtc/rtc-jz4740.c b/drivers/rtc/rtc-jz4740.c
+index b647363..50c5df0 100644
+--- a/drivers/rtc/rtc-jz4740.c
++++ b/drivers/rtc/rtc-jz4740.c
+@@ -280,6 +280,8 @@ static int __devinit jz4740_rtc_probe(struct platform_device *pdev)
+ }
+ }
+
++ jz4740_rtc_ctrl_set_bits(rtc, JZ_RTC_CTRL_1HZ_IRQ, 1);
++
+ return 0;
+
+ err_free_irq:
+--
+1.7.5.4
+