Revert "rk30 phone loquat: modify lcd driver"
authorhhb <hhb@rock-chips.com>
Mon, 28 May 2012 14:27:17 +0000 (22:27 +0800)
committerhhb <hhb@rock-chips.com>
Mon, 28 May 2012 14:29:47 +0000 (22:29 +0800)
This reverts commit 0355a52ff6b48bc565dec18ca45bca233e819117.

drivers/video/display/screen/lcd_hj050na_06a.c

index 4e4b84c43790e2441f41ec89bf39b9a3d63fa1df..73041cdc3420b5fd2b2928dbeea3f764cf47133f 100644 (file)
@@ -147,8 +147,8 @@ int lcd_init(void)
        usleep_range(7*1000, 7*1000);
 #endif
 
-    Write_ADDR(0x0001);     // Software Reset
-    msleep(10);
+//    Write_ADDR(0x0001);     // Software Reset
+//    msleep(100);
 
     Write_ADDR(0x0011);     // Sleep Out
     msleep(60);
@@ -357,6 +357,7 @@ 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();