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:
cd2115e
)
rk3168_86v: modify shutdown error
author
hjc
<hjc@rock-chips.com>
Mon, 11 Mar 2013 09:51:27 +0000
(17:51 +0800)
committer
hjc
<hjc@rock-chips.com>
Mon, 11 Mar 2013 09:51:27 +0000
(17:51 +0800)
arch/arm/mach-rk30/board-rk3168-86v.c
patch
|
blob
|
history
diff --git
a/arch/arm/mach-rk30/board-rk3168-86v.c
b/arch/arm/mach-rk30/board-rk3168-86v.c
index 75c95f664cccf71df97e892eb1f69c509adcfa95..d311c01dc556910b38827e5eaa8f083e1f89f307 100755
(executable)
--- a/
arch/arm/mach-rk30/board-rk3168-86v.c
+++ b/
arch/arm/mach-rk30/board-rk3168-86v.c
@@
-1800,12
+1800,12
@@
static void rk30_pm_power_off(void)
#if defined(CONFIG_REGULATOR_ACT8846)
if (pmic_is_tps65910()) {
printk("enter dcdet===========\n");
- if(
(gpio_get_value (RK30_PIN0_PB2) == GPIO_LOW)||(gpio_get_value (RK30_PIN0_PA7) == GPIO_HIGH)
)
+ if(
gpio_get_value (RK30_PIN0_PB2) == GPIO_LOW
)
{
printk("enter restart===========\n");
arm_pm_restart(0, NULL);
}
-
//act8931
_device_shutdown();
+
tps65910
_device_shutdown();
}
#endif
while (1);