media: mtk-vcodec: Fix order of log arguments
authorEvan Benn <evanbenn@chromium.org>
Thu, 26 Nov 2020 03:08:42 +0000 (04:08 +0100)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Wed, 27 Jan 2021 12:11:25 +0000 (13:11 +0100)
Fix order of log arguments.

[hverkuil: fix checkpatch parenthesis alignment warnings]

Signed-off-by: Evan Benn <evanbenn@chromium.org>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/media/platform/mtk-vcodec/mtk_vcodec_intr.c

index a3c7a38..70580c2 100644 (file)
@@ -27,13 +27,13 @@ int mtk_vcodec_wait_for_done_ctx(struct mtk_vcodec_ctx  *ctx, int command,
 
        if (!ret) {
                status = -1;    /* timeout */
-               mtk_v4l2_err("[%d] cmd=%d, ctx->type=%d, wait_event_interruptible_timeout time=%ums out %d %d!",
-                               ctx->id, ctx->type, command, timeout_ms,
-                               ctx->int_cond, ctx->int_type);
+               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->int_cond, ctx->int_type);
        } else if (-ERESTARTSYS == ret) {
-               mtk_v4l2_err("[%d] cmd=%d, ctx->type=%d, wait_event_interruptible_timeout interrupted by a signal %d %d",
-                               ctx->id, ctx->type, command, ctx->int_cond,
-                               ctx->int_type);
+               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->int_type);
                status = -1;
        }