mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-25 14:13:01 -04:00
Merge "soc: qcom: rpmh: Fix sending incorrect data during rpmh flush"
This commit is contained in:
commit
a49a3b4be7
1 changed files with 5 additions and 0 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in a new issue