projects
/
GitHub
/
LineageOS
/
android_hardware_samsung.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3360b09
)
power: Fix I/O business parameter setting
author
Christopher N. Hesse
<raymanfx@gmail.com>
Mon, 11 Jul 2016 13:49:49 +0000
(15:49 +0200)
committer
Gerrit Code Review
<gerrit@cyanogenmod.org>
Wed, 13 Jul 2016 00:32:47 +0000
(17:32 -0700)
This parameter should be set even if we bail out early.
Change-Id: Iae78a13db229538960f1c7ec4c1f95f530810d71
power/power.c
patch
|
blob
|
blame
|
history
diff --git
a/power/power.c
b/power/power.c
index 72298c64b194ed67718c3044e5a990c86c2eeca0..f54c72ffc5ade38e627845adae164d297af7a5a4 100644
(file)
--- 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);
}