sanders: power: add back support for dt2wake

Change-Id: I429f8f86f3ff3e30ec1af104475e4cc1d0020fb7

Signed-off-by: ronaxdevil <pratabidya.007@gmail.com>
This commit is contained in:
Vachounet
2019-05-17 14:57:15 +02:00
committed by ronaxdevil
parent 7378e235b4
commit 185d23ebaa
4 changed files with 20 additions and 0 deletions

View File

@@ -65,6 +65,7 @@ Return<void> Power::powerHint(PowerHint_1_0 hint, int32_t data) {
}
Return<void> Power::setFeature(Feature feature, bool activate) {
set_feature(static_cast<feature_t>(feature), activate ? 1 : 0);
return Void();
}