mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-10 14:19:09 -04:00
Merge "msm: vidc: Fix KW error"
This commit is contained in:
commit
2265fed004
2 changed files with 5 additions and 3 deletions
|
|
@ -376,13 +376,15 @@ int msm_vidc_get_decoder_internal_buffer_sizes(struct msm_vidc_inst *inst)
|
|||
struct msm_vidc_dec_buff_size_calculators *dec_calculators;
|
||||
u32 width, height, i, out_min_count, num_vpp_pipes;
|
||||
struct v4l2_format *f;
|
||||
u32 vpp_delay = inst->bse_vpp_delay;
|
||||
u32 vpp_delay;
|
||||
|
||||
if (!inst || !inst->core || !inst->core->platform_data) {
|
||||
d_vpr_e("%s: Instance is null!", __func__);
|
||||
return -EINVAL;
|
||||
}
|
||||
|
||||
vpp_delay = inst->bse_vpp_delay;
|
||||
|
||||
num_vpp_pipes = inst->core->platform_data->num_vpp_pipes;
|
||||
f = &inst->fmts[INPUT_PORT].v4l2_fmt;
|
||||
switch (f->fmt.pix_mp.pixelformat) {
|
||||
|
|
|
|||
|
|
@ -228,7 +228,7 @@ static inline char *get_debug_level_str(int level)
|
|||
static inline void tic(struct msm_vidc_inst *i, enum profiling_points p,
|
||||
char *b)
|
||||
{
|
||||
struct timeval __ddl_tv;
|
||||
struct timeval __ddl_tv = { 0 };
|
||||
|
||||
if (!i->debug.pdata[p].name[0])
|
||||
memcpy(i->debug.pdata[p].name, b, 64);
|
||||
|
|
@ -243,7 +243,7 @@ static inline void tic(struct msm_vidc_inst *i, enum profiling_points p,
|
|||
|
||||
static inline void toc(struct msm_vidc_inst *i, enum profiling_points p)
|
||||
{
|
||||
struct timeval __ddl_tv;
|
||||
struct timeval __ddl_tv = { 0 };
|
||||
|
||||
if ((msm_vidc_debug & VIDC_PERF) &&
|
||||
!i->debug.pdata[p].sampling) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue