diff options
author | 2020-11-26 04:08:42 +0100 | |
---|---|---|
committer | 2021-01-27 13:11:25 +0100 | |
commit | c0011fe210c5835889cd5918f62b7cf0b3f26bc2 (patch) | |
tree | 9d300e74de22e2cf8e9b5f7017117663caf46b09 /drivers/media | |
parent | media: qm1d1c0042: fix error return code in qm1d1c0042_init() (diff) | |
download | linux-c0011fe210c5835889cd5918f62b7cf0b3f26bc2.tar.gz linux-c0011fe210c5835889cd5918f62b7cf0b3f26bc2.tar.bz2 linux-c0011fe210c5835889cd5918f62b7cf0b3f26bc2.zip |
media: mtk-vcodec: Fix order of log arguments
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>
Diffstat (limited to 'drivers/media')
-rw-r--r-- | drivers/media/platform/mtk-vcodec/mtk_vcodec_intr.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/drivers/media/platform/mtk-vcodec/mtk_vcodec_intr.c b/drivers/media/platform/mtk-vcodec/mtk_vcodec_intr.c index a3c7a380c930..70580c2525ba 100644 --- a/drivers/media/platform/mtk-vcodec/mtk_vcodec_intr.c +++ b/drivers/media/platform/mtk-vcodec/mtk_vcodec_intr.c @@ -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; } |