linux/drivers/media
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
..
cec media: cec: fix trivial style warnings 2021-01-12 18:20:01 +01:00
common media: videobuf2: always call poll_wait() on queues 2021-01-04 13:12:46 +01:00
dvb-core media: dvb_frontend: Fix fall-through warnings for Clang 2021-01-27 12:55:53 +01:00
dvb-frontends media: dvb-frontends: Fix fall-through warnings for Clang 2021-01-27 12:54:44 +01:00
firewire media: firewire: fix memory leak 2020-09-27 11:29:45 +02:00
i2c media: i2c/ov02a10.c: add cast to fix type mismatch 2021-01-27 08:39:30 +01:00
mc media: mc-device.c: change media_device_request_alloc to match media_ioctl_info 2020-08-29 08:15:23 +02:00
mmc media updates for v5.8-rc1 2020-06-03 20:59:38 -07:00
pci media: cx25821: Fix a bug when reallocating some dma memory 2021-01-27 13:44:58 +01:00
platform media: mtk-vcodec: fix argument used when DEBUG is defined 2021-01-27 13:45:24 +01:00
radio media: si4713: remove trailing semicolon in macro definition 2020-12-03 08:54:13 +01:00
rc media: rc: select CONFIG_BITREVERSE where needed 2021-01-27 13:18:08 +01:00
spi media: i2c/Kconfig: use sub-menus for I2C support 2020-04-16 10:34:40 +02:00
test-drivers media: vicodec: Do not zero reserved fields 2021-01-27 13:21:44 +01:00
tuners media: qm1d1c0042: fix error return code in qm1d1c0042_init() 2021-01-27 12:59:17 +01:00
usb media: rc: select CONFIG_BITREVERSE where needed 2021-01-27 13:18:08 +01:00
v4l2-core media: v4l2-ctrls.c: fix shift-out-of-bounds in std_validate 2021-01-27 08:31:54 +01:00
Kconfig media: Remove superfluous dependency for MEDIA_SUPPORT_FILTER 2020-11-27 12:19:25 +01:00
Makefile media: media/test_drivers: rename to test-drivers 2020-04-16 10:38:31 +02:00