msm: vidc/cvp: Fix handle_cmd_response parameter type

Bug: 117299373
Change-Id: Iffee5fd84fb1340bed7585d3dfb438e7955f61c5
Signed-off-by: Miguel de Dios <migueldedios@google.com>
Signed-off-by: Flicker372 <flicker372@outlook.com>
This commit is contained in:
Miguel de Dios 2025-02-17 18:22:39 +08:00 • committed by duckyduckg
commit 4545cdce64
4 changed files with 4 additions and 4 deletions

View file

@ -767,7 +767,7 @@ static void handle_session_close(enum hal_command_response cmd, void *data)
cvp_put_inst(inst);
}
void cvp_handle_cmd_response(enum hal_command_response cmd, void *data)
void cvp_handle_cmd_response(u32 cmd, void *data)
{
dprintk(CVP_HFI, "Command response = %d\n", cmd);
switch (cmd) {

View file

@ -326,7 +326,7 @@ struct msm_cvp_inst {
extern struct msm_cvp_drv *cvp_driver;
void cvp_handle_cmd_response(enum hal_command_response cmd, void *data);
void cvp_handle_cmd_response(u32 cmd, void *data);
int msm_cvp_trigger_ssr(struct msm_cvp_core *core,
enum hal_ssr_trigger_type type);
int msm_cvp_noc_error_info(struct msm_cvp_core *core);

View file

@ -2728,7 +2728,7 @@ exit:
put_inst(inst);
}
void handle_cmd_response(enum hal_command_response cmd, void *data)
void handle_cmd_response(u32 cmd, void *data)
{
switch (cmd) {
case HAL_SYS_INIT_DONE:

View file

@ -623,7 +623,7 @@ struct msm_vidc_ctrl {
const char * const *qmenu;
};
void handle_cmd_response(enum hal_command_response cmd, void *data);
void handle_cmd_response(u32 cmd, void *data);
int msm_vidc_trigger_ssr(struct msm_vidc_core *core,
u64 trigger_ssr_val);
int msm_vidc_noc_error_info(struct msm_vidc_core *core);