diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2014-12-15 16:08:32 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2015-07-13 08:38:18 +0200 |
commit | 04b5217f50ce899933e464574ae192462396f772 (patch) | |
tree | a1acbb944e537b8ad20da32b8b4a17567d5efb3d /arch/arm/boards/efika-mx-smartbook | |
parent | 6913850321aaa3464ab3dad7b05ff06d02462ec8 (diff) | |
download | barebox-04b5217f50ce899933e464574ae192462396f772.tar.gz barebox-04b5217f50ce899933e464574ae192462396f772.tar.xz |
ARM: i.MX51 Efikasb: Disable backlight earlier
Set the backlight enable gpio to disabled earlier during startup
to avoid flicker when the pinmux is configured but not yet the
enable gpio.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/boards/efika-mx-smartbook')
-rw-r--r-- | arch/arm/boards/efika-mx-smartbook/board.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/arm/boards/efika-mx-smartbook/board.c b/arch/arm/boards/efika-mx-smartbook/board.c index 4a38afd27b..f023d70c28 100644 --- a/arch/arm/boards/efika-mx-smartbook/board.c +++ b/arch/arm/boards/efika-mx-smartbook/board.c @@ -187,6 +187,7 @@ static int efikamx_usb_init(void) gpio_direction_output(GPIO_WIFI_RESET, 0); gpio_direction_output(GPIO_SMSC3317_RESET, 0); gpio_direction_output(GPIO_HUB_RESET, 0); + gpio_direction_output(GPIO_BACKLIGHT_POWER, 1); mdelay(10); @@ -241,8 +242,6 @@ static int efikamx_late_init(void) defaultenv_append_directory(defaultenv_efikasb); - gpio_direction_output(GPIO_BACKLIGHT_POWER, 1); - for (i = 0; i < ARRAY_SIZE(leds); i++) led_gpio_register(&leds[i]); |