[PATCH] AT91: correct at91sam9263ek LCD power gpio pin

From: Nicolas Ferre
Date: Thu Jan 17 2008 - 04:09:45 EST


Corrects GPIO pin assignment for the LCD power control (PCI)

Signed-off-by: Nicolas Ferre <nicolas.ferre@xxxxxxxxx>
---
arch/arm/mach-at91/board-sam9263ek.c | 4 ++--

--- a/arch/arm/mach-at91/board-sam9263ek.c
+++ b/arch/arm/mach-at91/board-sam9263ek.c
@@ -243,9 +243,9 @@ static struct fb_monspecs at91fb_default
static void at91_lcdc_power_control(int on)
{
if (on)
- at91_set_gpio_value(AT91_PIN_PD12, 0); /* power up */
+ at91_set_gpio_value(AT91_PIN_PA30, 1); /* power up */
else
- at91_set_gpio_value(AT91_PIN_PD12, 1); /* power down */
+ at91_set_gpio_value(AT91_PIN_PA30, 0); /* power down */
}

/* Driver datas */

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/