From 5f3d1582fe477ac7f439570e92d9175ec2af59d5 Mon Sep 17 00:00:00 2001 From: hjc Date: Mon, 11 Mar 2013 17:51:27 +0800 Subject: [PATCH] rk3168_86v: modify shutdown error --- arch/arm/mach-rk30/board-rk3168-86v.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/mach-rk30/board-rk3168-86v.c b/arch/arm/mach-rk30/board-rk3168-86v.c index 75c95f664ccc..d311c01dc556 100755 --- 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); -- 2.34.1