rk3066b: pull down backlight pin when power off
authorhxy <hxy@rock-chips.com>
Wed, 5 Sep 2012 06:07:48 +0000 (14:07 +0800)
committerhxy <hxy@rock-chips.com>
Wed, 5 Sep 2012 06:07:48 +0000 (14:07 +0800)
arch/arm/mach-rk30/board-rk3066b-sdk.c

index 7c6196049373c349d8a21505d71a06c2f4c985a0..81c59f7fd5e588e6d7bbce1ceab62487063cd919 100644 (file)
@@ -168,6 +168,7 @@ static int rk29_backlight_io_deinit(void)
        gpio_free(BL_EN_PIN);
 #endif
        rk30_mux_api_set(PWM_MUX_NAME, PWM_MUX_MODE_GPIO);
+       gpio_direction_output(PWM_GPIO, GPIO_LOW);
        return ret;
 }