- for result from DDK, modified type void -> int
PR JIRA ID: CPR-856
CRs-fixed: (CR)
Change-Id: I4a8a759738ff3e1687f39da9ca48385888f563c1
Signed-off-by: Wooyeon Kim <wooy88.kim@samsung.com>
Reviewed-on: https://gerrit.mot.com/
1326262
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Dawei Wang <wangdw10@motorola.com>
Reviewed-by: Zhichao Chen <chenzc2@motorola.com>
Submit-Approved: Jira Key
frame->instance, hw_ip);
}
- fimc_is_lib_isp_shot(hw_ip, &hw_3aa->lib[frame->instance], param_set, frame->shot);
+ ret = fimc_is_lib_isp_shot(hw_ip, &hw_3aa->lib[frame->instance], param_set, frame->shot);
set_bit(HW_CONFIG, &hw_ip->state);
}
ret = fimc_is_hw_isp_set_yuv_range(hw_ip, param_set, frame->fcount, hw_map);
- fimc_is_lib_isp_shot(hw_ip, &hw_isp->lib[frame->instance], param_set, frame->shot);
+ ret |= fimc_is_lib_isp_shot(hw_ip, &hw_isp->lib[frame->instance], param_set, frame->shot);
set_bit(HW_CONFIG, &hw_ip->state);
return 0;
}
-void __nocfi fimc_is_lib_isp_shot(struct fimc_is_hw_ip *hw_ip,
+int __nocfi fimc_is_lib_isp_shot(struct fimc_is_hw_ip *hw_ip,
struct fimc_is_lib_isp *this, void *param_set, struct camera2_shot *shot)
{
int ret = 0;
- FIMC_BUG_VOID(!hw_ip);
- FIMC_BUG_VOID(!this);
- FIMC_BUG_VOID(!param_set);
- FIMC_BUG_VOID(!this->func);
- FIMC_BUG_VOID(!this->object);
+ FIMC_BUG(!hw_ip);
+ FIMC_BUG(!this);
+ FIMC_BUG(!param_set);
+ FIMC_BUG(!this->func);
+ FIMC_BUG(!this->object);
switch (hw_ip->id) {
case DEV_HW_3AA0:
err_lib("invalid hw (%d)", hw_ip->id);
break;
}
+
+ return ret;
}
int __nocfi fimc_is_lib_isp_get_meta(struct fimc_is_hw_ip *hw_ip,
struct fimc_is_lib_isp *this, void *param);
int fimc_is_lib_isp_set_ctrl(struct fimc_is_hw_ip *hw_ip,
struct fimc_is_lib_isp *this, struct fimc_is_frame *frame);
-void fimc_is_lib_isp_shot(struct fimc_is_hw_ip *hw_ip,
+int fimc_is_lib_isp_shot(struct fimc_is_hw_ip *hw_ip,
struct fimc_is_lib_isp *this, void *param_set, struct camera2_shot *shot);
int fimc_is_lib_isp_get_meta(struct fimc_is_hw_ip *hw_ip,
struct fimc_is_lib_isp *this, struct fimc_is_frame *frame);