rk3188 ds1006: fix parameter charge on thc arm_pm_restart
authorwuhao <wuhao@wuhao@rock-chips.com>
Tue, 4 Jun 2013 02:33:32 +0000 (10:33 +0800)
committerwuhao <wuhao@wuhao@rock-chips.com>
Tue, 4 Jun 2013 02:33:32 +0000 (10:33 +0800)
arch/arm/mach-rk3188/board-rk3188-ds1006h.c

index 2f5196cd8e10e88551d3115db5683012cc2fa2dd..9d5d488b58cae371e698eb2cad031a491a9cb655 100755 (executable)
@@ -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