davinci: da8xx/omap-l1: mark RTC as a wakeup source
authorSekhar Nori <nsekhar@ti.com>
Mon, 16 Nov 2009 11:51:31 +0000 (17:21 +0530)
committerKevin Hilman <khilman@deeprootsystems.com>
Wed, 6 Jan 2010 16:57:44 +0000 (08:57 -0800)
commit75c99bb0006ee065b4e2995078d779418b0fab54
tree828222f9966657b1746f987ea3c5d6aee4553d4f
parent2d3f595016f982294c1669ee87aa91179d88502b
davinci: da8xx/omap-l1: mark RTC as a wakeup source

On da850, RTC alarm is a wakeup source from deep sleep.
Mark it as a wakeup source after the rtc platform device
is registered.

Without this patch, the rtc-omap driver suspends the RTC
during the suspend sequence and hence it cannot wakeup the
SoC.

Signed-off-by: Sekhar Nori <nsekhar@ti.com>
Signed-off-by: Kevin Hilman <khilman@deeprootsystems.com>
arch/arm/mach-davinci/devices-da8xx.c