diff options
author | Nicolas Ferre <nicolas.ferre@atmel.com> | 2008-03-05 00:08:02 +0100 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2008-03-06 13:18:18 +0100 |
commit | 6bb68f8867348257e757de9c30ada4e90fe695d9 (patch) | |
tree | b4fbd1a2c3c860aa5ff3d71e308c92149b79d221 /arch | |
parent | [ARM] replace remaining __FUNCTION__ occurrences (diff) | |
download | linux-6bb68f8867348257e757de9c30ada4e90fe695d9.tar.xz linux-6bb68f8867348257e757de9c30ada4e90fe695d9.zip |
[ARM] AT91: correct at91sam9263ek LCD power gpio pin
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>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/mach-at91/board-sam9263ek.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/arch/arm/mach-at91/board-sam9263ek.c b/arch/arm/mach-at91/board-sam9263ek.c index 38313abef657..bf103b24c937 100644 --- a/arch/arm/mach-at91/board-sam9263ek.c +++ b/arch/arm/mach-at91/board-sam9263ek.c @@ -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 */ |