hikey: Fix stune path, as it changed with N
In N the stune cgroup is mounted under /dev/stune
instead of /sys/fs/cgroup/stune, so update the
path names.
Change-Id: Ic70da960e0d0ddd7a2286ecbfa074283bd36e921
Signed-off-by: John Stultz <john.stultz@linaro.org>
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