mirror of https://gitee.com/openkylin/linux.git
[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>
This commit is contained in:
parent
8e86f4271a
commit
6bb68f8867
|
@ -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 */
|
||||
|
|
Loading…
Reference in New Issue