klte-common: power: Update power hal extension for new qti hal
* And fix the LOG_TAG while we're at it Change-Id: I81678e10385fef4c6881c17813f8ffa89caa2629
This commit is contained in:
parent
26ec92cc67
commit
fb7006f016
|
@ -18,7 +18,7 @@
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <fcntl.h>
|
#include <fcntl.h>
|
||||||
|
|
||||||
#define LOG_TAG "PowerHAL_H_Ext"
|
#define LOG_TAG "PowerHAL_K_Ext"
|
||||||
#include <utils/Log.h>
|
#include <utils/Log.h>
|
||||||
|
|
||||||
/* touchkeys */
|
/* touchkeys */
|
||||||
|
@ -47,7 +47,7 @@ static void sysfs_write(char *path, char *s) {
|
||||||
close(fd);
|
close(fd);
|
||||||
}
|
}
|
||||||
|
|
||||||
void cm_power_set_interactive_ext(int on) {
|
void power_set_interactive_ext(int on) {
|
||||||
ALOGD("%s: %s input devices", __func__, on ? "enabling" : "disabling");
|
ALOGD("%s: %s input devices", __func__, on ? "enabling" : "disabling");
|
||||||
sysfs_write(TK_POWER, on ? "1" : "0");
|
sysfs_write(TK_POWER, on ? "1" : "0");
|
||||||
sysfs_write(TS_POWER, on ? "1" : "0");
|
sysfs_write(TS_POWER, on ? "1" : "0");
|
||||||
|
|
Loading…
Reference in New Issue