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:
3de89b5
)
rk3188 ds1006: fix parameter charge on thc arm_pm_restart
author
wuhao
<wuhao@wuhao@rock-chips.com>
Tue, 4 Jun 2013 02:33:32 +0000
(10:33 +0800)
committer
wuhao
<wuhao@wuhao@rock-chips.com>
Tue, 4 Jun 2013 02:33:32 +0000
(10:33 +0800)
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 2f5196cd8e10e88551d3115db5683012cc2fa2dd..9d5d488b58cae371e698eb2cad031a491a9cb655 100755
(executable)
--- a/
arch/arm/mach-rk3188/board-rk3188-ds1006h.c
+++ b/
arch/arm/mach-rk3188/board-rk3188-ds1006h.c
@@
-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