From: Jagadeesh Bhaskar Pakaravoor Date: Fri, 5 Sep 2008 09:24:46 +0000 (+0530) Subject: rtc-twl4030: Fix periodic interrupt X-Git-Tag: v2.6.27-omap1~236 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=589ccfa4dea1ce19f7ca96472fa32d4f3f1d39eb;p=pandora-kernel.git rtc-twl4030: Fix periodic interrupt RTC generates an extra spurious interrupt for every actual periodic interrupt. This is due to a problem with the RTC_IT bit of REG_PWR_ISR1. It requires two writes or two reads (when COR is enabled) to clear it. Since COR is enabled and one read of the same register is done already (inside twl4030-pwrirq.c do_twl4030_pwrirq() function), we can do away with a need to add one more write into the same register inside the interrupt handler, by replacing the write currently present with just one extra read. Signed-off-by: Jagadeesh Bhaskar Pakaravoor Signed-off-by: Tony Lindgren --- Reading git-diff-tree failed