From b3efa2d4acf1d7e49d1db081d4d5478c910e0bbd Mon Sep 17 00:00:00 2001 From: Bill Gatliff Date: Thu, 31 May 2007 16:17:16 +0100 Subject: [PATCH] --- yaml --- r: 57410 b: refs/heads/master c: 29c349d22ccda5678a7dfb732093dbd3befcefa3 h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/include/asm-arm/arch-pxa/gpio.h | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index 8b019d282c38..01e6526b9af8 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: b6b27ae5e85fb193c08448157943b187958b8ca2 +refs/heads/master: 29c349d22ccda5678a7dfb732093dbd3befcefa3 diff --git a/trunk/include/asm-arm/arch-pxa/gpio.h b/trunk/include/asm-arm/arch-pxa/gpio.h index aeba24347f8e..9e99241f3edf 100644 --- a/trunk/include/asm-arm/arch-pxa/gpio.h +++ b/trunk/include/asm-arm/arch-pxa/gpio.h @@ -45,7 +45,8 @@ static inline int gpio_direction_input(unsigned gpio) static inline int gpio_direction_output(unsigned gpio, int value) { - return pxa_gpio_mode(gpio | GPIO_OUT | (value ? 0 : GPIO_DFLT_LOW)); + return pxa_gpio_mode(gpio | GPIO_OUT | + (value ? GPIO_DFLT_HIGH : GPIO_DFLT_LOW)); } static inline int __gpio_get_value(unsigned gpio)