OSDN Git Service

drivers/rtc/rtc-mxc.c: make alarm work
authorYauhen Kharuzhy <jekhor@gmail.com>
Tue, 10 Jan 2012 23:10:34 +0000 (15:10 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 11 Jan 2012 00:30:52 +0000 (16:30 -0800)
commitc92182ee0b5a33c74e4b6c0ded36166e4ef3bc3e
tree4583c06816318f4e4b4216239f83d91aa11b5fbe
parent7287be1d0ac8c82999b67c2a33517c6ec9cfdbe7
drivers/rtc/rtc-mxc.c: make alarm work

Fix alarm IRQ handling, make the alarm one-shot.  Cleanup black magick
with a validation of already validated time data.

Add ability to wake the system with alarm.

[akpm@linux-foundation.org: fix CONFIG_PM=n build]
Signed-off-by: Yauhen Kharuzhy <jekhor@gmail.com>
Cc: Daniel Mack <daniel@caiaq.de>
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-mxc.c