Merge "msm: vidc: Add log to indicate image session"

This commit is contained in:
qctecmdr 2020-05-18 17:25:14 -07:00 • committed by Gerrit - the friendly Code Review server
commit 4a6a89f80d

View file

@ -3174,7 +3174,7 @@ static void msm_vidc_print_running_insts(struct msm_vidc_core *core)
inp_f = &temp->fmts[INPUT_PORT].v4l2_fmt;
if (temp->state >= MSM_VIDC_OPEN_DONE &&
temp->state < MSM_VIDC_STOP_DONE) {
char properties[4] = "";
char properties[5] = "";
if (is_thumbnail_session(temp))
strlcat(properties, "N", sizeof(properties));
@ -3185,6 +3185,9 @@ static void msm_vidc_print_running_insts(struct msm_vidc_core *core)
if (is_realtime_session(temp))
strlcat(properties, "R", sizeof(properties));
if (is_grid_session(temp))
strlcat(properties, "I", sizeof(properties));
if (temp->clk_data.operating_rate)
op_rate = temp->clk_data.operating_rate >> 16;
else