rk3188 ds1006h : do no invoke act8846_device_shutdown when shutdown without charger pluged in.

this would cause tablet cannot boot while plug in charger
                 and it can boot normally by press power button
This commit is contained in:
Cody Xie
2013-02-15 16:22:36 +08:00
parent 7747ba5770
commit a2d53de557

View File

@@ -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);