sh: sh-rtc carry interrupt rework
authorMagnus Damm <damm@igel.co.jp>
Thu, 19 Mar 2009 10:05:58 +0000 (10:05 +0000)
committerPaul Mundt <lethal@linux-sh.org>
Fri, 20 Mar 2009 09:56:50 +0000 (18:56 +0900)
commit9cd88b90a6008b0d744187fab80ade4c81c6536f
treea790ecb0cf2e5a45d4047221fb38a54fbb5533a9
parent615e73b3cd8876262f61ea28b4147c8de38a043a
sh: sh-rtc carry interrupt rework

This patch modifies the SuperH RTC driver to only
enable carry interrupts when needed. So by default
no interrupts are enabled with this patch. Without
this patch a suspending system will most likely
wake up by the carry interrupt regardless if the
alarm interrupt has been enabled or not.

Signed-off-by: Magnus Damm <damm@igel.co.jp>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
drivers/rtc/rtc-sh.c