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

Commit a1d1fabf authored by Lina Iyer's avatar Lina Iyer
Browse files

drivers: qcom: system_pm: fix incorrect check for idle status



Fix incorrect comparison for controller idle.

Change-Id: Id56fcd9c5c08135d8f1d871584fd6015f3da2312
Signed-off-by: default avatarLina Iyer <ilina@codeaurora.org>
parent 13174698
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -44,7 +44,7 @@ static int system_sleep_update_wakeup(bool from_idle)
 */
static bool system_sleep_allowed(void)
{
	return (rpmh_ctrlr_idle(dev) == 0);
	return rpmh_ctrlr_idle(dev);
}

/**