Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f4070cb5 authored by Deva Ramasubramanian's avatar Deva Ramasubramanian Committed by Gerrit - the friendly Code Review server
Browse files

msm: vidc: Change misleading log



When a S_CTRL fails during a decoder session, the log indicating the
type of failiure is misleading.  This commit changes it to something
more accurate.

Change-Id: I9506025566b1789890675104cc5543b548f0790a
Signed-off-by: default avatarDeva Ramasubramanian <dramasub@codeaurora.org>
parent fe59e87b
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -2092,7 +2092,8 @@ static int msm_vdec_op_s_ctrl(struct v4l2_ctrl *ctrl)

failed_open_done:
	if (rc)
		dprintk(VIDC_ERR, "Failed to set hal property for framesize\n");
		dprintk(VIDC_ERR, "Failed setting control: %x (%s)",
				ctrl->id, v4l2_ctrl_get_name(ctrl->id));
	return rc;
}

+2 −1
Original line number Diff line number Diff line
@@ -2161,7 +2161,8 @@ static int msm_venc_op_s_ctrl(struct v4l2_ctrl *ctrl)
	}
failed_open_done:
	if (rc)
		dprintk(VIDC_ERR, "Failed to set hal property\n");
		dprintk(VIDC_ERR, "Failed setting control: %x (%s)",
				ctrl->id, v4l2_ctrl_get_name(ctrl->id));
	return rc;
}