Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit aa4de6f1 authored by Wei Wang's avatar Wei Wang
Browse files

ANDROID: restrict store of prefer_idle as boolean



It works as boolean so stores like a boolean too.

Bug: 116734731
Test: Set stune
Change-Id: I0daa3cc1723d009ed5bc2a71fa1c2e3d4ece6a7f
Signed-off-by: default avatarWei Wang <wvw@google.com>
parent b727d1c1
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -637,7 +637,7 @@ prefer_idle_write(struct cgroup_subsys_state *css, struct cftype *cft,
	    u64 prefer_idle)
{
	struct schedtune *st = css_st(css);
	st->prefer_idle = prefer_idle;
	st->prefer_idle = !!prefer_idle;

	return 0;
}