hikey: Fix stune path, as it changed with N am: 884c7131e1 am: 39e71823fa
am: 3afd631e24
Change-Id: I00172cafde5e97998335daed8b0012645ebaddf2
diff --git a/init.hikey.rc b/init.hikey.rc
index ccb8824..a009792 100644
--- a/init.hikey.rc
+++ b/init.hikey.rc
@@ -66,10 +66,10 @@
#
# EAS stune boosting interfaces
#
- chown system system /sys/fs/cgroup/stune/foreground/schedtune.boost
- chown system system /sys/fs/cgroup/stune/schedtune.boost
- write /sys/fs/cgroup/stune/foreground/schedtune.boost 10
- write /sys/fs/cgroup/stune/schedtune.boost 0
+ chown system system /dev/stune/foreground/schedtune.boost
+ chown system system /dev/stune/schedtune.boost
+ write /dev/stune/foreground/schedtune.boost 10
+ write /dev/stune/schedtune.boost 0
# enable Google-specific location features,
diff --git a/power/power_hikey.c b/power/power_hikey.c
index 2dfe76d..158d732 100644
--- a/power/power_hikey.c
+++ b/power/power_hikey.c
@@ -36,7 +36,7 @@
#include <hardware/hardware.h>
#include <hardware/power.h>
-#define SCHEDTUNE_BOOST_PATH "/sys/fs/cgroup/stune/foreground/schedtune.boost"
+#define SCHEDTUNE_BOOST_PATH "/dev/stune/foreground/schedtune.boost"
#define SCHEDTUNE_BOOST_NORM "10"
#define SCHEDTUNE_BOOST_INTERACTIVE "40"
#define SCHEDTUNE_BOOST_TIME_NS 1000000000LL