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@xxxxxxxxxxxxxx> --- arch/arm/boards/efika-mx-smartbook/board.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/arch/arm/boards/efika-mx-smartbook/board.c b/arch/arm/boards/efika-mx-smartbook/board.c index 4a38afd..f023d70 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]); -- 2.1.4 _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox