linux/drivers/media
Laurent Pinchart 2f63379b93 media: ti-vpe: cal: Use a loop to create CAMERARX and context instances
Replace a manually unrolled loop with an explicit for loop to increase
readability when creating the CAMERARX and context instances. The
explicit NULL initialization of cal->phy[] and cal->ctx[] is removed, as
the cal structure is zeroed when allocated.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Reviewed-by: Benoit Parrot <bparrot@ti.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
2020-07-19 09:25:32 +02:00
..
cec cec-api: prevent leaking memory through hole in structure 2020-07-19 07:43:14 +02:00
common media: Add V4L2_TYPE_IS_CAPTURE helper 2020-07-19 08:13:24 +02:00
dvb-core media: videobuf2: add queue memory consistency parameter 2020-06-23 13:31:12 +02:00
dvb-frontends media: drx-k: remove unused MulDiv32 function 2020-07-04 12:22:33 +02:00
firewire media: firewire: Using uninitialized values in node_probe() 2020-07-04 11:57:10 +02:00
i2c media: tvp5150: Add missed media_entity_cleanup() 2020-07-04 12:43:36 +02:00
mc media: media-request: Fix crash if memory allocation fails 2020-06-23 15:19:37 +02:00
mmc media updates for v5.8-rc1 2020-06-03 20:59:38 -07:00
pci media: pci: dt3155: fix spelling mistake 2020-07-19 07:57:53 +02:00
platform media: ti-vpe: cal: Use a loop to create CAMERARX and context instances 2020-07-19 09:25:32 +02:00
radio media: radio: don't use a menu just for wl128x driver 2020-04-16 10:34:57 +02:00
rc media: rc: return proper error code on error handling path in init 2020-07-04 12:23:46 +02:00
spi media: i2c/Kconfig: use sub-menus for I2C support 2020-04-16 10:34:40 +02:00
test-drivers media: Add V4L2_TYPE_IS_CAPTURE helper 2020-07-19 08:13:24 +02:00
tuners media: si2157: ensure wait_status is initialized 2020-04-29 11:59:57 +02:00
usb gspca: First camera mode is skipped 2020-07-19 08:16:47 +02:00
v4l2-core media: Add V4L2_TYPE_IS_CAPTURE helper 2020-07-19 08:13:24 +02:00
Kconfig media: media/test_drivers: rename to test-drivers 2020-04-16 10:38:31 +02:00
Makefile media: media/test_drivers: rename to test-drivers 2020-04-16 10:38:31 +02:00