sanders: power: add back support for dt2wake
Change-Id: I429f8f86f3ff3e30ec1af104475e4cc1d0020fb7 Signed-off-by: ronaxdevil <pratabidya.007@gmail.com>
This commit is contained in:
@@ -133,3 +133,17 @@ void set_interactive(int on)
|
||||
|
||||
ALOGI("Got set_interactive hint");
|
||||
}
|
||||
|
||||
void set_feature(feature_t feature, int state)
|
||||
{
|
||||
switch (feature) {
|
||||
#ifdef TAP_TO_WAKE_NODE
|
||||
case POWER_FEATURE_DOUBLE_TAP_TO_WAKE:
|
||||
sysfs_write(TAP_TO_WAKE_NODE, state ? "1" : "0");
|
||||
break;
|
||||
#endif
|
||||
default:
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user