aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/media/hantro/hantro_h264.c
diff options
context:
space:
mode:
authorEzequiel Garcia <ezequiel@collabora.com>2019-12-05 15:24:42 +0100
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>2019-12-16 10:26:12 +0100
commit3143f8a123dc6ecbe1f39e92fb1081e49a1c7bf1 (patch)
tree7ef77770eb4a52d9f936161316896eaa9ba8faef /drivers/staging/media/hantro/hantro_h264.c
parentmedia: hantro: Cleanup format negotiation helpers (diff)
downloadlinux-dev-3143f8a123dc6ecbe1f39e92fb1081e49a1c7bf1.tar.xz
linux-dev-3143f8a123dc6ecbe1f39e92fb1081e49a1c7bf1.zip
media: hantro: Rename {prepare,finish}_run to {start,end}_prepare_run
hantro_prepare_run() and hantro_finish_run() are slightly misleading, so let's rename it to something a bit more clear. Signed-off-by: Ezequiel Garcia <ezequiel@collabora.com> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Diffstat (limited to 'drivers/staging/media/hantro/hantro_h264.c')
-rw-r--r--drivers/staging/media/hantro/hantro_h264.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/media/hantro/hantro_h264.c b/drivers/staging/media/hantro/hantro_h264.c
index 568640eab3a6..f2d3e81fb6ce 100644
--- a/drivers/staging/media/hantro/hantro_h264.c
+++ b/drivers/staging/media/hantro/hantro_h264.c
@@ -562,7 +562,7 @@ int hantro_h264_dec_prepare_run(struct hantro_ctx *ctx)
struct hantro_h264_dec_ctrls *ctrls = &h264_ctx->ctrls;
struct hantro_h264_reflist_builder reflist_builder;
- hantro_prepare_run(ctx);
+ hantro_start_prepare_run(ctx);
ctrls->scaling =
hantro_get_ctrl(ctx, V4L2_CID_MPEG_VIDEO_H264_SCALING_MATRIX);