Commit 6bb68f88 authored by Nicolas Ferre's avatar Nicolas Ferre Committed by Russell King

[ARM] AT91: correct at91sam9263ek LCD power gpio pin

Correct GPIO pin assignment for the LCD power control (PCI)
Signed-off-by: default avatarNicolas Ferre <nicolas.ferre@atmel.com>
Cc: David Brownell <david-b@pacbell.net>
Cc: Andrew Victor <linux@maxim.org.za>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
parent 8e86f427
...@@ -245,10 +245,7 @@ static struct fb_monspecs at91fb_default_monspecs = { ...@@ -245,10 +245,7 @@ static struct fb_monspecs at91fb_default_monspecs = {
static void at91_lcdc_power_control(int on) static void at91_lcdc_power_control(int on)
{ {
if (on) at91_set_gpio_value(AT91_PIN_PA30, on);
at91_set_gpio_value(AT91_PIN_PD12, 0); /* power up */
else
at91_set_gpio_value(AT91_PIN_PD12, 1); /* power down */
} }
/* Driver datas */ /* Driver datas */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment