]> git.karo-electronics.de Git - karo-tx-linux.git/commit
drivers/rtc/rtc-mxc.c: make alarm work
authorYauhen Kharuzhy <jekhor@gmail.com>
Fri, 2 Dec 2011 03:12:50 +0000 (14:12 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Mon, 5 Dec 2011 04:19:31 +0000 (15:19 +1100)
commit727c89b082aca19eb77b033171ffdef1fa1d93b6
tree277fb2593005a03f7e2beb24f4a4322a01f82cdd
parenta2593cf7ac1f5b62cc434f501ac3859c25b38496
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