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

Commit a49a3b4b authored by qctecmdr's avatar qctecmdr Committed by Gerrit - the friendly Code Review server
Browse files

Merge "soc: qcom: rpmh: Fix sending incorrect data during rpmh flush"

parents 97b5ab55 d1c78026
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -562,6 +562,11 @@ int rpmh_flush(const struct device *dev)
		return 0;
	}

	/* Invalidate the TCSes first to avoid stale data */
	do {
		ret = rpmh_rsc_invalidate(ctrlr_to_drv(ctrlr));
	} while (ret == -EAGAIN);

	/* First flush the cached batch requests */
	ret = flush_batch(ctrlr);
	if (ret)