rk3188 ds1006: fix parameter charge on thc arm_pm_restart

This commit is contained in:
wuhao
2013-06-04 10:33:32 +08:00
parent 3de89b5a5b
commit 188cd812ae

View File

@@ -1986,7 +1986,7 @@ static void rk30_pm_power_off(void)
if(gpio_get_value (RK30_PIN0_PB2) == GPIO_LOW)
{
printk("enter restart===========\n");
arm_pm_restart(0, NULL);
arm_pm_restart(0, "charge");
}
/** code here may cause tablet cannot boot when shutdown without charger pluged in
* and then plug in charger. -- Cody Xie