From 2879c69f2b39ec7a0c1fbaa54bb2bdcf60fd5b6a Mon Sep 17 00:00:00 2001 From: "Christopher N. Hesse" Date: Mon, 11 Jul 2016 15:49:49 +0200 Subject: [PATCH] power: Fix I/O business parameter setting This parameter should be set even if we bail out early. Change-Id: Iae78a13db229538960f1c7ec4c1f95f530810d71 --- power/power.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/power/power.c b/power/power.c index 72298c6..f54c72f 100644 --- a/power/power.c +++ b/power/power.c @@ -403,9 +403,8 @@ static void samsung_power_set_interactive(struct power_module *module, int on) sysfs_write(samsung_pwr->touchkey_power_path, "1"); } - sysfs_write(IO_IS_BUSY_PATH, on ? "1" : "0"); - out: + sysfs_write(IO_IS_BUSY_PATH, on ? "1" : "0"); ALOGV("power_set_interactive: %d done\n", on); } -- 2.20.1