iris: rename msm_vidc_suspend_locked to msm_vidc_suspend

To follow the same nomenclature as the other function names
in driver, rename msm_vidc_suspend_locked to msm_vidc_suspend.

Change-Id: Iacdd6604c25f6efc61c5b6add939669f5bd26355
Signed-off-by: Dikshita Agarwal <quic_dikshita@quicinc.com>
This commit is contained in:
Dikshita Agarwal
2023-06-13 18:46:42 +05:30
parent b6fba340c3
commit 84b23e5835
3 changed files with 3 additions and 3 deletions

View File

@@ -471,7 +471,7 @@ int msm_vidc_trigger_stability(struct msm_vidc_core *core,
void msm_vidc_stability_handler(struct work_struct *work);
int cancel_stability_work_sync(struct msm_vidc_inst *inst);
void msm_vidc_fw_unload_handler(struct work_struct *work);
int msm_vidc_suspend_locked(struct msm_vidc_core *core);
int msm_vidc_suspend(struct msm_vidc_core *core);
void msm_vidc_batch_handler(struct work_struct *work);
int msm_vidc_event_queue_init(struct msm_vidc_inst *inst);
int msm_vidc_event_queue_deinit(struct msm_vidc_inst *inst);

View File

@@ -235,7 +235,7 @@ static u32 msm_vidc_get_buffer_stats_flag(struct msm_vidc_inst *inst)
return flags;
}
int msm_vidc_suspend_locked(struct msm_vidc_core *core)
int msm_vidc_suspend(struct msm_vidc_core *core)
{
int rc = 0;

View File

@@ -916,7 +916,7 @@ static int msm_vidc_pm_suspend(struct device *dev)
}
d_vpr_h("%s\n", __func__);
rc = msm_vidc_suspend_locked(core);
rc = msm_vidc_suspend(core);
if (rc == -ENOTSUPP)
rc = 0;
else if (rc)