rk3188 ds1006h : do no invoke act8846_device_shutdown when shutdown without charger...
authorCody Xie <xkd@rock-chips.com>
Fri, 15 Feb 2013 08:22:36 +0000 (16:22 +0800)
committerCody Xie <xkd@rock-chips.com>
Fri, 15 Feb 2013 08:22:45 +0000 (16:22 +0800)
                 this would cause tablet cannot boot while plug in charger
                 and it can boot normally by press power button

arch/arm/mach-rk3188/board-rk3188-ds1006h.c

index c232bbc474626ceded735f9ecd935dff7207c9e0..38b6c7701a40c467b8ce8f8c968a03e178d2df71 100755 (executable)
@@ -1806,10 +1806,13 @@ static void rk30_pm_power_off(void)
                        printk("enter restart===========\n");
                        arm_pm_restart(0, NULL);
                }
+               /** code here may cause tablet cannot boot when shutdown without charger pluged in
+                 * and then plug in charger. -- Cody Xie
                else
                {
                        act8846_device_shutdown();
                }
+                 */
        }
 #endif
        gpio_direction_output(POWER_ON_PIN, GPIO_LOW);