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

Commit 4fbfde61 authored by Maulik Shah's avatar Maulik Shah
Browse files

power: qcom: Fix issue with power table notifications



Power table notifications are not sent even if cpu is
having valid power data.

Fix this by correcting condition to send notifications.

Change-Id: I77d00e328e9ed780e0b7434d3642bb44b3c9cc7f
Signed-off-by: default avatarMaulik Shah <mkshah@codeaurora.org>
parent f5c81bb5
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -455,7 +455,7 @@ static int update_userspace_power(struct sched_params __user *argp)
	spin_unlock(&update_lock);

	for_each_possible_cpu(cpu) {
		if (pdata_valid[cpu])
		if (!pdata_valid[cpu])
			continue;

		blocking_notifier_call_chain(