]> 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>
Thu, 15 Dec 2011 07:35:25 +0000 (18:35 +1100)
commitf738fb307a34200178c1370897ee9132243fd1f0
tree7ad52e4603b506d509012df3ba34e5d2ffbe9b98
parentba9f12058da57069676fd9fe1607416e6dd9ee0c
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