1 From bee8b808445a53a7dbb6c15a27064f14dec410c5 Mon Sep 17 00:00:00 2001
2 From: Dmitry Baryshkov <dbaryshkov@gmail.com>
3 Date: Sun, 20 Jan 2008 03:01:41 +0300
4 Subject: [PATCH 55/64] Add GPIO_POWERON to the list of devices that we support resume on.
6 Signed-off-by: Dmitry Baryshkov <dbaryshkov@gmail.com>
8 arch/arm/mach-pxa/tosa.c | 6 +++---
9 1 files changed, 3 insertions(+), 3 deletions(-)
11 diff --git a/arch/arm/mach-pxa/tosa.c b/arch/arm/mach-pxa/tosa.c
12 index 3e832dc..d1cf3dc 100644
13 --- a/arch/arm/mach-pxa/tosa.c
14 +++ b/arch/arm/mach-pxa/tosa.c
15 @@ -517,9 +517,9 @@ static void __init tosa_init(void)
16 pxa_gpio_mode(TOSA_GPIO_USB_IN | GPIO_IN);
18 /* setup sleep mode values */
22 + PWER = BIT(TOSA_GPIO_POWERON) | BIT(TOSA_GPIO_RESET);
24 + PRER = BIT(TOSA_GPIO_POWERON) | BIT(TOSA_GPIO_RESET);