rk3288:pmic:act8846:modify shutdown func
author张晴 <zhangqing@rock-chips.com>
Fri, 6 Jun 2014 03:44:48 +0000 (11:44 +0800)
committer张晴 <zhangqing@rock-chips.com>
Fri, 6 Jun 2014 03:44:48 +0000 (11:44 +0800)
drivers/regulator/act8846.c

index 158f491b4044d71691c747763a7dd754403d3bce..9519294a4c4a32e73235ad0b4f2469b3c8279c2e 100755 (executable)
@@ -803,6 +803,7 @@ int act8846_device_shutdown(void)
 #if 1
        if (act8846->pmic_hold_gpio) {
                        gpio_direction_output(act8846->pmic_hold_gpio,0);
+                       msleep(100);
                        arm_pm_restart('h', "charge");
        }