ARM: exynos: backlight: Init the backlight high
authorSean Paul <seanpaul@chromium.org>
Wed, 1 Aug 2012 23:04:18 +0000 (16:04 -0700)
committerGerrit <chrome-bot@google.com>
Thu, 2 Aug 2012 00:35:42 +0000 (17:35 -0700)
Initialize the backlight enable pin high so we don't drop the backlight
between u-boot and kernel.

BUG=None
TEST=Tested on snow, verified backlight was maintained through boot

Change-Id: I0bb7ee36277059f21821012ba255ed07fcaa0842
Signed-off-by: Sean Paul <seanpaul@chromium.org>
Reviewed-on: https://gerrit.chromium.org/gerrit/28990
Reviewed-by: Doug Anderson <dianders@chromium.org>
Reviewed-by: Olof Johansson <olofj@chromium.org>
arch/arm/mach-exynos/mach-exynos5-dt.c

index 6be8eea..a5355b5 100644 (file)
@@ -923,7 +923,7 @@ static void __init exynos5250_dt_machine_init(void)
         * multiple times, this should be done with device tree, and
         * likely integrated into the plat-samsung/dev-backlight.c init.
         */
-       gpio_request_one(EXYNOS5_GPX3(0), GPIOF_OUT_INIT_LOW, "lcd_bl_en");
+       gpio_request_one(EXYNOS5_GPX3(0), GPIOF_OUT_INIT_HIGH, "lcd_bl_en");
 
        samsung_bl_set(&smdk5250_bl_gpio_info, &smdk5250_bl_data);