]> git.baikalelectronics.ru Git - kernel.git/commit
davinci: cp_intc: provide set_wake function
authorSekhar Nori <nsekhar@ti.com>
Mon, 16 Nov 2009 11:51:30 +0000 (17:21 +0530)
committerKevin Hilman <khilman@deeprootsystems.com>
Wed, 6 Jan 2010 16:57:44 +0000 (08:57 -0800)
commit59da4b4ca52617d5f422a019c45df0857008c47d
treec3cc878c31abc541c27146d271abe24c8d0d9f55
parente673edc599a163f6de9b48123350b80f864f5c92
davinci: cp_intc: provide set_wake function

There is nothing special to be done for interrupts
which can wakeup the device from sleep on CP-INTC,
but not having a set_wake implemented prevents use
of common drivers which expect this function to be
implemented for all wakeup interrupt sources.

This patch fixes the issue encountered when using the
omap-rtc driver on DA850. On DA850 the RTC alarm
interrupt is used to wake up the SoC from deep sleep
mode. Without this patch, the disable_irq_wake throws
an unbalanced wake disable warning while resuming
because the previous enable call fails for lack of
set_wake implementation.

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