projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7747ba5
)
rk3188 ds1006h : do no invoke act8846_device_shutdown when shutdown without charger...
author
Cody Xie
<xkd@rock-chips.com>
Fri, 15 Feb 2013 08:22:36 +0000
(16:22 +0800)
committer
Cody Xie
<xkd@rock-chips.com>
Fri, 15 Feb 2013 08:22:45 +0000
(16:22 +0800)
this would cause tablet cannot boot while plug in charger
and it can boot normally by press power button
arch/arm/mach-rk3188/board-rk3188-ds1006h.c
patch
|
blob
|
history
diff --git
a/arch/arm/mach-rk3188/board-rk3188-ds1006h.c
b/arch/arm/mach-rk3188/board-rk3188-ds1006h.c
index c232bbc474626ceded735f9ecd935dff7207c9e0..38b6c7701a40c467b8ce8f8c968a03e178d2df71 100755
(executable)
--- a/
arch/arm/mach-rk3188/board-rk3188-ds1006h.c
+++ b/
arch/arm/mach-rk3188/board-rk3188-ds1006h.c
@@
-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);