mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 02:32:09 -04:00
Merge remote-tracking branch 'sm8350/lineage-20' into lineage-23.2
* sm8350/lineage-20: msm: vidc/cvp: fix callback type for msm_vidc/cvp_callback msm: vidc/cvp: fix function type for hfi_cmd_response_callback msm: vidc/cvp: Fix handle_cmd_response parameter type Change-Id: I653aa4fac07801578e806b639e91d9361db5fe36
This commit is contained in:
commit
b0eb683125
6 changed files with 8 additions and 12 deletions
|
|
@ -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:
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
|
|
|||
|
|
@ -678,10 +678,8 @@ struct hfi_device {
|
|||
enum hal_default_properties (*get_default_properties)(void *dev);
|
||||
};
|
||||
|
||||
typedef void (*hfi_cmd_response_callback) (enum hal_command_response cmd,
|
||||
void *data);
|
||||
typedef void (*msm_vidc_callback) (enum hal_command_response response,
|
||||
void *callback);
|
||||
typedef void (*hfi_cmd_response_callback) (u32 cmd, void *data);
|
||||
typedef void (*msm_vidc_callback) (u32 response, void *callback);
|
||||
|
||||
struct hfi_device *vidc_hfi_initialize(enum msm_vidc_hfi_type hfi_type,
|
||||
u32 device_id, struct msm_vidc_platform_resources *res,
|
||||
|
|
|
|||
Loading…
Reference in a new issue