WSL2-Linux-Kernel/drivers/media/platform/mtk-vcodec
Tom Rix a04e187d23 media: mtk-vcodec: fix argument used when DEBUG is defined
When DEBUG is defined this error occurs

drivers/media/platform/mtk-vcodec/mtk_vcodec_enc_drv.c:306:41:
  error: ‘i’ undeclared (first use in this function)
  mtk_v4l2_debug(2, "reg[%d] base=0x%p", i, dev->reg_base[VENC_SYS]);

Reviewing the old line

	mtk_v4l2_debug(2, "reg[%d] base=0x%p", i, dev->reg_base[i]);

All the i's need to be changed to VENC_SYS.
Fix a similar error for VENC_LT_SYS.

Fixes: 0dc4b32861 ("media: mtk-vcodec: venc: support SCP firmware")
Signed-off-by: Tom Rix <trix@redhat.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
2021-01-27 13:45:24 +01:00
..
vdec media: mtk-vcodec: fix error return code in vdec_vp9_decode() 2021-01-12 18:12:51 +01:00
venc media: mtk-vcodec: venc: support SCP firmware 2020-09-26 10:03:39 +02:00
Makefile media: mtk-vcodec: fix build breakage when one of VPU or SCP is enabled 2020-11-05 14:32:11 +01:00
mtk_vcodec_dec.c media: mtk-vcodec: Do not zero reserved fields 2021-01-27 13:44:06 +01:00
mtk_vcodec_dec.h media: mtk-vcodec: use v4l2_m2m_buffer where appropriate 2020-01-09 14:46:41 +01:00
mtk_vcodec_dec_drv.c Linux 5.10-rc6 2020-12-01 16:21:40 +01:00
mtk_vcodec_dec_pm.c media: mtk-vcodec: add missing put_device() call in mtk_vcodec_release_dec_pm() 2020-11-16 10:31:09 +01:00
mtk_vcodec_dec_pm.h Linux 5.2-rc4 2019-06-11 12:09:28 -04:00
mtk_vcodec_drv.h media: mtk-vcodec: add support for MT8183 encoder 2020-09-26 10:07:05 +02:00
mtk_vcodec_enc.c media: mtk-vcodec: Do not zero reserved fields 2021-01-27 13:44:06 +01:00
mtk_vcodec_enc.h media: mtk-vcodec: use v4l2_m2m_buffer where appropriate 2020-01-09 14:46:41 +01:00
mtk_vcodec_enc_drv.c media: mtk-vcodec: fix argument used when DEBUG is defined 2021-01-27 13:45:24 +01:00
mtk_vcodec_enc_pm.c media: mtk-vcodec: add missing put_device() call in mtk_vcodec_release_enc_pm() 2020-11-16 10:31:10 +01:00
mtk_vcodec_enc_pm.h Linux 5.2-rc4 2019-06-11 12:09:28 -04:00
mtk_vcodec_fw.c media: mtk-vcodec: move firmware implementations into their own files 2020-11-05 14:31:32 +01:00
mtk_vcodec_fw.h media: mtk-vcodec: move firmware implementations into their own files 2020-11-05 14:31:32 +01:00
mtk_vcodec_fw_priv.h media: mtk-vcodec: fix build breakage when one of VPU or SCP is enabled 2020-11-05 14:32:11 +01:00
mtk_vcodec_fw_scp.c media: mtk-vcodec: move firmware implementations into their own files 2020-11-05 14:31:32 +01:00
mtk_vcodec_fw_vpu.c media: mtk-vcodec: move firmware implementations into their own files 2020-11-05 14:31:32 +01:00
mtk_vcodec_intr.c media: mtk-vcodec: Fix order of log arguments 2021-01-27 13:11:25 +01:00
mtk_vcodec_intr.h Linux 5.2-rc4 2019-06-11 12:09:28 -04:00
mtk_vcodec_util.c media: mtk-vcodec: abstract firmware interface 2020-09-26 09:53:52 +02:00
mtk_vcodec_util.h Linux 5.2-rc4 2019-06-11 12:09:28 -04:00
vdec_drv_base.h media: mtk-vcodec: abstract firmware interface 2020-09-26 09:53:52 +02:00
vdec_drv_if.c media: mtk-vcodec: abstract firmware interface 2020-09-26 09:53:52 +02:00
vdec_drv_if.h media: mtk-vcodec: remove unneeded proxy functions 2019-06-21 17:10:20 -04:00
vdec_ipi_msg.h Linux 5.2-rc4 2019-06-11 12:09:28 -04:00
vdec_vpu_if.c media: mtk-vcodec: abstract firmware interface 2020-09-26 09:53:52 +02:00
vdec_vpu_if.h media: mtk-vcodec: abstract firmware interface 2020-09-26 09:53:52 +02:00
venc_drv_base.h media: mtk-vcodec: avoid unneeded pointer-to-long conversions 2019-06-21 17:09:30 -04:00
venc_drv_if.c media: mtk-vcodec: abstract firmware interface 2020-09-26 09:53:52 +02:00
venc_drv_if.h media: mtk-vcodec: venc: support SCP firmware 2020-09-26 10:03:39 +02:00
venc_ipi_msg.h media: mtk-vcodec: venc: handle firmware version field 2020-09-26 10:04:39 +02:00
venc_vpu_if.c media: mtk-vcodec: venc: handle firmware version field 2020-09-26 10:04:39 +02:00
venc_vpu_if.h media: mtk-vcodec: venc: support SCP firmware 2020-09-26 10:03:39 +02:00