[ARM] 4422/1: Fix default value handling in gpio_direction_output (PXA)
commit29c349d22ccda5678a7dfb732093dbd3befcefa3
authorBill Gatliff <bgat@billgatliff.com>
Thu, 31 May 2007 15:17:16 +0000 (31 16:17 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Sat, 2 Jun 2007 20:31:48 +0000 (2 21:31 +0100)
treea221d1fe28f0e1c03f68a11cc010cce3f93b225b
parentb6b27ae5e85fb193c08448157943b187958b8ca2
[ARM] 4422/1: Fix default value handling in gpio_direction_output (PXA)

The default value passed through to pxa_gpio_mode() is lost
due to a missing GPIO_DFLT_HIGH mask for nonzero values.  The enclosed
patch fixes this programming error.

Signed-off-by: Bill Gatliff <bgat@billgatliff.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
include/asm-arm/arch-pxa/gpio.h