From 81fe72534e588d7fa69345a983a49ef6512f9ad9 Mon Sep 17 00:00:00 2001 From: jyk Date: Thu, 4 Aug 2011 23:20:39 +0800 Subject: [PATCH] newton: fix lcd power leak on suspend close LCD_DISP & LCD_EN on suspend --- arch/arm/mach-rk29/board-rk29-newton.c | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/arch/arm/mach-rk29/board-rk29-newton.c b/arch/arm/mach-rk29/board-rk29-newton.c index 6033f91b9bb6..16a693c3c2eb 100755 --- a/arch/arm/mach-rk29/board-rk29-newton.c +++ b/arch/arm/mach-rk29/board-rk29-newton.c @@ -176,15 +176,14 @@ struct rk29_nand_platform_data rk29_nand_data = { * author: zyw@rock-chips.com *****************************************************************************************/ #define FB_ID 0 -#define FB_DISPLAY_ON_PIN INVALID_GPIO// RK29_PIN6_PD0 -//#define FB_LCD_STANDBY_PIN INVALID_GPIO -#define FB_LCD_STANDBY_PIN RK29_PIN6_PD1 +#define FB_DISPLAY_ON_PIN RK29_PIN6_PD1 +#define FB_LCD_STANDBY_PIN RK29_PIN1_PD6 #define FB_LCD_CABC_EN_PIN RK29_PIN6_PD2 #define FB_MCU_FMK_PIN INVALID_GPIO #define FB_DISPLAY_ON_VALUE GPIO_HIGH -//#define FB_LCD_STANDBY_VALUE GPIO_HIGH -#define FB_LCD_STANDBY_VALUE GPIO_LOW +#define FB_LCD_STANDBY_VALUE GPIO_HIGH +//#define FB_LCD_STANDBY_VALUE GPIO_LOW static int rk29_lcd_io_init(void) { -- 2.34.1