]> git.karo-electronics.de Git - karo-tx-linux.git/commit
drivers/rtc/rtc-mxc.c: make alarm work
authorYauhen Kharuzhy <jekhor@gmail.com>
Thu, 8 Dec 2011 04:42:29 +0000 (15:42 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Fri, 9 Dec 2011 04:57:52 +0000 (15:57 +1100)
commit05e6fd0ca554dc4cd8ebd1db70fed16b051b7ddd
tree60d6fa7a1a6babc47d64576dac6df60a5aa0f19e
parent8aa2e63fe912b3545bb7857d25e91cacd32e3ed6
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.

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>
drivers/rtc/rtc-mxc.c