Browse Source

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 <[email protected]>
Signed-off-by: Nilaan Gunabalachandran <[email protected]>
Samantha Tran 4 years ago
parent
commit
e68e102598
1 changed files with 1 additions and 1 deletions
  1. 1 1
      msm/sde_rsc.c

+ 1 - 1
msm/sde_rsc.c

@@ -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 &&