power: Fix I/O business parameter setting

This parameter should be set even if we bail out early.

Change-Id: Iae78a13db229538960f1c7ec4c1f95f530810d71
This commit is contained in:
Christopher N. Hesse 2016-07-11 15:49:49 +02:00 committed by Gerrit Code Review
parent 3360b09389
commit 2879c69f2b
1 changed files with 1 additions and 2 deletions

View File

@ -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);
}