]> git.karo-electronics.de Git - karo-tx-linux.git/commit
drivers/rtc/rtc-mxc.c: make alarm work
authorYauhen Kharuzhy <jekhor@gmail.com>
Fri, 16 Dec 2011 04:50:24 +0000 (15:50 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 21 Dec 2011 06:01:36 +0000 (17:01 +1100)
commit9f305694e8ff75093dcea61601e7d944a4cd3d2d
treed4a9f5ace24c217b62a71a9203f30cf4ac4cd8a6
parent3ac84237f217e47a1c57cc691dd0d591d9014c5c
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