Commit c0011fe2 authored by Evan Benn's avatar Evan Benn Committed by Mauro Carvalho Chehab

media: mtk-vcodec: Fix order of log arguments

Fix order of log arguments.

[hverkuil: fix checkpatch parenthesis alignment warnings]
Signed-off-by: default avatarEvan Benn <evanbenn@chromium.org>
Signed-off-by: default avatarHans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab+huawei@kernel.org>
parent fcf8d018
...@@ -27,11 +27,11 @@ int mtk_vcodec_wait_for_done_ctx(struct mtk_vcodec_ctx *ctx, int command, ...@@ -27,11 +27,11 @@ int mtk_vcodec_wait_for_done_ctx(struct mtk_vcodec_ctx *ctx, int command,
if (!ret) { if (!ret) {
status = -1; /* timeout */ status = -1; /* timeout */
mtk_v4l2_err("[%d] cmd=%d, ctx->type=%d, wait_event_interruptible_timeout time=%ums out %d %d!", mtk_v4l2_err("[%d] ctx->type=%d, cmd=%d, wait_event_interruptible_timeout time=%ums out %d %d!",
ctx->id, ctx->type, command, timeout_ms, ctx->id, ctx->type, command, timeout_ms,
ctx->int_cond, ctx->int_type); ctx->int_cond, ctx->int_type);
} else if (-ERESTARTSYS == ret) { } else if (-ERESTARTSYS == ret) {
mtk_v4l2_err("[%d] cmd=%d, ctx->type=%d, wait_event_interruptible_timeout interrupted by a signal %d %d", mtk_v4l2_err("[%d] ctx->type=%d, cmd=%d, wait_event_interruptible_timeout interrupted by a signal %d %d",
ctx->id, ctx->type, command, ctx->int_cond, ctx->id, ctx->type, command, ctx->int_cond,
ctx->int_type); ctx->int_type);
status = -1; status = -1;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment