rk30 phone loquat: modify lcd driver
authorhhb <hhb@rock-chips.com>
Mon, 28 May 2012 14:25:57 +0000 (22:25 +0800)
committerhhb <hhb@rock-chips.com>
Mon, 28 May 2012 14:29:47 +0000 (22:29 +0800)
drivers/video/display/screen/lcd_hj050na_06a.c

index 73041cdc3420b5fd2b2928dbeea3f764cf47133f..4e4b84c43790e2441f41ec89bf39b9a3d63fa1df 100644 (file)
@@ -147,8 +147,8 @@ int lcd_init(void)
        usleep_range(7*1000, 7*1000);
 #endif
 
-//    Write_ADDR(0x0001);     // Software Reset
-//    msleep(100);
+    Write_ADDR(0x0001);     // Software Reset
+    msleep(10);
 
     Write_ADDR(0x0011);     // Sleep Out
     msleep(60);
@@ -357,7 +357,6 @@ int lcd_standby(u8 enable)
                msleep(1);                              //wait at least 1ms
                gpio_direction_output(LCD_RST_PORT, 0);
 #endif
-
            if(gLcd_info)
                gLcd_info->io_deinit();