msm: vidc: fix format string mismatch
Some debug prints doesn't contain proper args. So added proper args. Change-Id: I36fe3e967b3bf600b3a948cb88f556a4d93c02d1 Signed-off-by: Govindaraj Rajagopal <grajagop@codeaurora.org>
This commit is contained in:
parent
34fa9710d1
commit
fe6842e274
@ -1555,7 +1555,7 @@ static int msm_venc_update_bitrate(struct msm_vidc_inst *inst)
|
||||
u32 cabac_max_bitrate = 0;
|
||||
|
||||
if (!inst) {
|
||||
d_vpr_e("%s: invalid params %pK\n", __func__);
|
||||
d_vpr_e("%s: invalid params\n", __func__);
|
||||
return -EINVAL;
|
||||
}
|
||||
|
||||
@ -1908,17 +1908,17 @@ int msm_venc_s_ctrl(struct msm_vidc_inst *inst, struct v4l2_ctrl *ctrl)
|
||||
}
|
||||
} else if (inst->state == MSM_VIDC_START_DONE) {
|
||||
if (!inst->external_blur) {
|
||||
s_vpr_e(sid, "external blur not enabled");
|
||||
s_vpr_e(sid, "%s: external blur not enabled", __func__);
|
||||
break;
|
||||
}
|
||||
if (ctrl->val == MSM_VIDC_BLUR_EXTERNAL_DYNAMIC) {
|
||||
s_vpr_h(sid,
|
||||
"external blur setting already enabled\n",
|
||||
"%s: external blur setting already enabled\n",
|
||||
__func__);
|
||||
break;
|
||||
} else if (ctrl->val == MSM_VIDC_BLUR_INTERNAL) {
|
||||
s_vpr_e(sid,
|
||||
"cannot change to internal blur config dynamically\n",
|
||||
"%s: cannot change to internal blur config dynamically\n",
|
||||
__func__);
|
||||
break;
|
||||
} else {
|
||||
|
@ -1444,7 +1444,7 @@ static inline int msm_vidc_power_save_mode_enable(struct msm_vidc_inst *inst,
|
||||
sizeof(hfi_perf_mode));
|
||||
if (rc) {
|
||||
s_vpr_e(inst->sid, "%s: Failed to set power save mode\n",
|
||||
__func__, inst);
|
||||
__func__);
|
||||
return rc;
|
||||
}
|
||||
inst->flags = enable ?
|
||||
|
Loading…
Reference in New Issue
Block a user