mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-08 11:50:43 +09:00
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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user