mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-08 21:22:09 -04:00
msm: vidc: Fix coverity static code analysis violations
Debug prints modified to fix type mismatch errors. Change-Id: I194ff4842f79f5cc32df8686855b88d3f6f4c5e8
This commit is contained in:
parent
6602b657ee
commit
679dbb6bea
1 changed files with 2 additions and 2 deletions
|
|
@ -7822,7 +7822,7 @@ u32 msm_comm_calc_framerate(struct msm_vidc_inst *inst,
|
|||
capability = &inst->capability;
|
||||
|
||||
if (timestamp_us <= prev_ts) {
|
||||
s_vpr_e(inst->sid, "%s: invalid ts %lld, prev ts %lld\n",
|
||||
s_vpr_e(inst->sid, "%s: invalid ts %llu, prev ts %llu\n",
|
||||
__func__, timestamp_us, prev_ts);
|
||||
return framerate;
|
||||
}
|
||||
|
|
@ -7853,7 +7853,7 @@ u32 msm_comm_get_max_framerate(struct msm_vidc_inst *inst)
|
|||
}
|
||||
avg_framerate = count ? (div_u64(avg_framerate, count)) : (1 << 16);
|
||||
|
||||
s_vpr_l(inst->sid, "%s: fps %u, list size %d\n", __func__, avg_framerate, count);
|
||||
s_vpr_l(inst->sid, "%s: fps %u, list size %u\n", __func__, avg_framerate, count);
|
||||
mutex_unlock(&inst->timestamps.lock);
|
||||
return (u32)avg_framerate;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue