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

Commit 54fdf0d8 authored by Neil Leeder's avatar Neil Leeder
Browse files

msm: correct nohlt behavior



Correct the values being passed from debugfs/nohlt.
Now writing 1 to nohlt increments it and writing
0 decrements it, as expected.

Change-Id: I34b07e1facc8fcf2294fd629561d69ea83d8475d
Signed-off-by: default avatarNeil Leeder <nleeder@codeaurora.org>
parent 86155e46
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -22,9 +22,9 @@
static int set_nohalt(void *data, u64 val)
{
	if (val)
		cpu_idle_poll_ctrl(false);
	else
		cpu_idle_poll_ctrl(true);
	else
		cpu_idle_poll_ctrl(false);
	return 0;
}