disp: msm: replace rpmh_flush with rpmh_write_sleep_and_wake

Commit d5e205079c34 ("drivers: qcom: rpmh: remove rpmh_flush export")
deprecates the rpmh_flush API. This change replaces the API with
rpmh_write_sleep_and_wake.

Change-Id: I1fb708b265d8abd981b099eb65b50d6cc73cc64d
Signed-off-by: Samantha Tran <samtran@codeaurora.org>
Signed-off-by: Nilaan Gunabalachandran <ngunabal@codeaurora.org>
This commit is contained in:
Samantha Tran
2020-09-17 20:36:57 -07:00
committed by orion brody
parent d2aea44026
commit e68e102598

View File

@@ -1086,7 +1086,7 @@ int sde_rsc_client_trigger_vote(struct sde_rsc_client *caller_client,
sde_power_data_bus_set_quota(&rsc->phandle,
i, rsc->bw_config.ab_vote[i],
rsc->bw_config.ib_vote[i]);
rpmh_flush(rsc->rpmh_dev);
rpmh_write_sleep_and_wake(rsc->rpmh_dev);
}
if (rsc->hw_ops.bwi_status &&