ARM: tegra11: add INT_RTC as a wakeup source
Antti P Miettinen [Tue, 8 Oct 2013 11:17:57 +0000 (14:17 +0300)]
Required for suspend_sanity test.

Change-Id: I6a4e24ad7a65e4e8b8c49ca4854e1c06933e218c
Signed-off-by: Antti P Miettinen <amiettinen@nvidia.com>
Reviewed-on: http://git-master/r/289201
(cherry picked from commit c7a04b51ad17196ab8cfc49e90c3c60a37aa6461)
Reviewed-on: http://git-master/r/353768
GVS: Gerrit_Virtual_Submit
Reviewed-by: Gabby Lee <galee@nvidia.com>
Tested-by: Gabby Lee <galee@nvidia.com>

arch/arm/mach-tegra/wakeups-t11x.c

index 4a19a0c..bf929d3 100644 (file)
@@ -116,7 +116,7 @@ static int tegra_wake_event_irq[] = {
        -EINVAL, /* SDMMC1 DAT1 */              /* wake13 */
        -EAGAIN,                                /* wake14 */
        INT_EDP,                                /* wake15 */
-       -EINVAL, /* Tegra RTC */                /* wake16 */
+       INT_RTC, /* Tegra RTC */                /* wake16 */
        INT_KBC, /* Tegra KBC */                /* wake17 */
        INT_EXTERNAL_PMU,                       /* wake18 */
        INT_USB,                                /* wake19 */