From: hjc Date: Mon, 11 Mar 2013 09:51:27 +0000 (+0800) Subject: rk3168_86v: modify shutdown error X-Git-Tag: firefly_0821_release~7434 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=5f3d1582fe477ac7f439570e92d9175ec2af59d5;p=firefly-linux-kernel-4.4.55.git rk3168_86v: modify shutdown error --- 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);