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

Commit 5dc45973 authored by Lina Iyer's avatar Lina Iyer
Browse files

drivers: qcom: rpmh: return controller is idle in rpmh-standalone



Return the controller as always idle when in standalone mode.

Change-Id: I6a664cbdb16cb97ac415fc2ebbd511ab83ba40be
Signed-off-by: default avatarLina Iyer <ilina@codeaurora.org>
parent 712e7c39
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -617,6 +617,9 @@ int rpmh_ctrlr_idle(const struct device *dev)
{
	struct rpmh_ctrlr *ctrlr = get_rpmh_ctrlr(dev);

	if (rpmh_standalone)
		return 0;

	return rpmh_rsc_ctrlr_is_idle(ctrlr_to_drv(ctrlr));
}
EXPORT_SYMBOL(rpmh_ctrlr_idle);