summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-pxa/spitz.c
diff options
context:
space:
mode:
authorDaniel Ribeiro <drwyrm@gmail.com>2009-05-05 22:43:18 -0300
committerEric Miao <eric.miao@marvell.com>2009-05-18 21:52:09 +0800
commit216e3b7abbd05c35d2d1a3f86629ade485351f0d (patch)
treefe89595dba787748fe311721cebd6a6101255752 /arch/arm/mach-pxa/spitz.c
parent818bc814447a35350ae90a329133e474bf1a2bd7 (diff)
downloadop-kernel-dev-216e3b7abbd05c35d2d1a3f86629ade485351f0d.zip
op-kernel-dev-216e3b7abbd05c35d2d1a3f86629ade485351f0d.tar.gz
[ARM] pxa: allow gpio_reset drive high during normal work
I want to reuse tosa/spitz gpio_reset code, but my board needs the reset gpio to be driven high during normal operation. Signed-off-by: Daniel Ribeiro <drwyrm@gmail.com> Acked-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com> Signed-off-by: Eric Miao <eric.miao@marvell.com>
Diffstat (limited to 'arch/arm/mach-pxa/spitz.c')
-rw-r--r--arch/arm/mach-pxa/spitz.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-pxa/spitz.c b/arch/arm/mach-pxa/spitz.c
index c18e34a..cdacea0 100644
--- a/arch/arm/mach-pxa/spitz.c
+++ b/arch/arm/mach-pxa/spitz.c
@@ -731,7 +731,7 @@ static void spitz_restart(char mode, const char *cmd)
static void __init common_init(void)
{
- init_gpio_reset(SPITZ_GPIO_ON_RESET, 1);
+ init_gpio_reset(SPITZ_GPIO_ON_RESET, 1, 0);
pm_power_off = spitz_poweroff;
arm_pm_restart = spitz_restart;
OpenPOWER on IntegriCloud