universal7885: Enable dt2w support

Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
Change-Id: I94472cb028204aee3ff8379f4638848a90698234
This commit is contained in:
SamarV-121 2020-12-27 16:04:55 +05:30 committed by roynatech2544
commit d48312f054
2 changed files with 1 additions and 6 deletions

View file

@ -137,11 +137,9 @@ Return<void> Power::setFeature(Feature feature __unused, bool activate __unused)
initialize();
}
#ifdef TAP_TO_WAKE_NODE
if (feature == Feature::POWER_FEATURE_DOUBLE_TAP_TO_WAKE) {
set(TAP_TO_WAKE_NODE, activate ? "1" : "0");
set("/sys/class/sec/tsp/cmd", activate ? "aot_enable,1" : "aot_enable,0");
}
#endif
return Void();
}