]> err.no Git - linux-2.6/commitdiff
[ARM] AT91: correct at91sam9263ek LCD power gpio pin
authorNicolas Ferre <nicolas.ferre@atmel.com>
Tue, 4 Mar 2008 23:08:02 +0000 (15:08 -0800)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Thu, 6 Mar 2008 12:18:18 +0000 (12:18 +0000)
Correct GPIO pin assignment for the LCD power control (PCI)

Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Cc: David Brownell <david-b@pacbell.net>
Cc: Andrew Victor <linux@maxim.org.za>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mach-at91/board-sam9263ek.c

index 38313abef657d0a01684634c3aaf43eba6e82c2b..bf103b24c9379e208bf395bfdc9499aea0963daa 100644 (file)
@@ -245,10 +245,7 @@ static struct fb_monspecs at91fb_default_monspecs = {
 
 static void at91_lcdc_power_control(int on)
 {
-       if (on)
-               at91_set_gpio_value(AT91_PIN_PD12, 0);  /* power up */
-       else
-               at91_set_gpio_value(AT91_PIN_PD12, 1);  /* power down */
+       at91_set_gpio_value(AT91_PIN_PA30, on);
 }
 
 /* Driver datas */