Date:2012-03-16 10:59:06 (12 years 12 days ago)
Author:Xiangfu
Commit:5a49fe26a5cefe0b1f8dcff1315cf3f2e12bc8f6
Message:fix the rtc bug more info: http://www.linux-mips.org/archives/linux-mips/2011-12/msg00191.html

Files: target/linux/xburst/patches-3.2/0029-rtc-jz4740-fix-hwclock-give-time-out.patch (1 diff)

Change Details

target/linux/xburst/patches-3.2/0029-rtc-jz4740-fix-hwclock-give-time-out.patch
1From 9845c1745d3d531a5b9544f5322c62bfb4d4e9bc Mon Sep 17 00:00:00 2001
2From: Xiangfu <xiangfu@openmobilefree.net>
3Date: Fri, 16 Mar 2012 17:48:45 +0800
4Subject: [PATCH 29/29] rtc: jz4740 fix hwclock give time out
5
6---
7 drivers/rtc/rtc-jz4740.c | 2 ++
8 1 files changed, 2 insertions(+), 0 deletions(-)
9
10diff --git a/drivers/rtc/rtc-jz4740.c b/drivers/rtc/rtc-jz4740.c
11index b647363..50c5df0 100644
12--- a/drivers/rtc/rtc-jz4740.c
13@@ -280,6 +280,8 @@ static int __devinit jz4740_rtc_probe(struct platform_device *pdev)
14         }
15     }
16
17+ jz4740_rtc_ctrl_set_bits(rtc, JZ_RTC_CTRL_1HZ_IRQ, 1);
18+
19     return 0;
20
21 err_free_irq:
22--
231.7.5.4
24

Archive Download the corresponding diff file



interactive