]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
hantro: Remove unused bytesused argument
authorEzequiel Garcia <ezequiel@collabora.com>
Wed, 1 Jul 2020 13:16:06 +0000 (15:16 +0200)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Sun, 19 Jul 2020 11:25:46 +0000 (13:25 +0200)
commitb72a6342dd240ce8e15b7acf1c38c67a0c56092b
tree4304e0ae90a07910d73a0115f42205328a9dda7c
parente765dba11ec26d7ea42974ec4d470b5ce00be3de
hantro: Remove unused bytesused argument

The driver doesn't need the bytesused argument.

For decoders, the plane bytesused is known and therefore,
buf_prepare is used to set it. For encoders, it's
handled by the codec_ops.done hook.

Signed-off-by: Ezequiel Garcia <ezequiel@collabora.com>
Reviewed-by: Philipp Zabel <p.zabel@pengutronix.de>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/staging/media/hantro/hantro_drv.c
drivers/staging/media/hantro/hantro_hw.h
drivers/staging/media/hantro/imx8m_vpu_hw.c
drivers/staging/media/hantro/rk3288_vpu_hw.c
drivers/staging/media/hantro/rk3399_vpu_hw.c