aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/media/hantro/rk3399_vpu_hw_vp8_dec.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/rk3399_vpu_hw_vp8_dec.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 '')
-rw-r--r--drivers/staging/media/hantro/rk3399_vpu_hw_vp8_dec.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/media/hantro/rk3399_vpu_hw_vp8_dec.c b/drivers/staging/media/hantro/rk3399_vpu_hw_vp8_dec.c
index 76d7ed3fd69a..a4a792f00b11 100644
--- a/drivers/staging/media/hantro/rk3399_vpu_hw_vp8_dec.c
+++ b/drivers/staging/media/hantro/rk3399_vpu_hw_vp8_dec.c
@@ -513,7 +513,7 @@ void rk3399_vpu_vp8_dec_run(struct hantro_ctx *ctx)
u32 mb_width, mb_height;
u32 reg;
- hantro_prepare_run(ctx);
+ hantro_start_prepare_run(ctx);
hdr = hantro_get_ctrl(ctx, V4L2_CID_MPEG_VIDEO_VP8_FRAME_HEADER);
if (WARN_ON(!hdr))
@@ -587,7 +587,7 @@ void rk3399_vpu_vp8_dec_run(struct hantro_ctx *ctx)
cfg_ref(ctx, hdr);
cfg_buffers(ctx, hdr);
- hantro_finish_run(ctx);
+ hantro_end_prepare_run(ctx);
hantro_reg_write(vpu, &vp8_dec_start_dec, 1);
}