]> git.baikalelectronics.ru Git - kernel.git/commit
rtc: rtc-twl4030 don't mask alarm interrupts on suspend
authorKim Kyuwon <q1.kim@samsung.com>
Tue, 12 May 2009 20:19:38 +0000 (13:19 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 12 May 2009 21:11:35 +0000 (14:11 -0700)
commit091b83d2e88c8e723efd7986cc8b0ddbee6da662
tree14cc0c73e4efa6ecf761a9dc6ad9f827d01aea6f
parent855bb95227ccd9bd99ef7649d03286aa53447ccc
rtc: rtc-twl4030 don't mask alarm interrupts on suspend

This patch enables the alarm interrupt of TWL4030 RTC to wake up the
system from suspend. You can test this patch with following command.

# echo +10 > /sys/class/rtc/rtc0/wakealarm; echo mem > /sys/power/state;

Signed-off-by: Kim Kyuwon <q1.kim@samsung.com>
Acked-by: David Brownell <david-b@pacbell.net>
Cc: Kyungmin Park <kyungmin.park@samsung.com>
Cc: Alessandro Zummo <a.zummo@towertech.it>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/rtc/rtc-twl4030.c