mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-23 20:52:50 +02:00
fix the rtc bug
more info: http://www.linux-mips.org/archives/linux-mips/2011-12/msg00191.html
This commit is contained in:
parent
a4f94608b1
commit
5a49fe26a5
@ -0,0 +1,25 @@
|
|||||||
|
From 9845c1745d3d531a5b9544f5322c62bfb4d4e9bc Mon Sep 17 00:00:00 2001
|
||||||
|
From: Xiangfu <xiangfu@openmobilefree.net>
|
||||||
|
Date: Fri, 16 Mar 2012 17:48:45 +0800
|
||||||
|
Subject: [PATCH 29/29] 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
|
||||||
|
|
Loading…
Reference in New Issue
Block a user