linux/drivers/media/test-drivers/vimc
Daniel Oakley ee8dadd770 media: vimc: use data link entities enum to index the ent_config array
Future additions to the ent_config[] could break the association between
the index of the struct vimc_ent_config entries in the ent_config[] array,
and the index defined by the enum proposed in the previous patch. Using
designated initializers solves this by linking the 2 together clearly in
code and prevents the array not reflecting the enum. There is no
functional change intended.

Suggested-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Signed-off-by: Daniel Oakley <daniel.oakley@ideasonboard.com>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
2022-07-15 14:43:55 +01:00
..
Kconfig media: Kconfig: cleanup VIDEO_DEV dependencies 2022-03-18 05:58:35 +01:00
Makefile media: vimc: add ancillary lens 2022-07-15 14:40:09 +01:00
vimc-capture.c media: vimc: expand the names of vimc entity types 2022-07-15 14:42:14 +01:00
vimc-common.c media: vimc: Add missing {RGB,BGR,GBR}888 media bus codes 2020-05-05 17:25:34 +02:00
vimc-common.h media: vimc: expand the names of vimc entity types 2022-07-15 14:42:14 +01:00
vimc-core.c media: vimc: use data link entities enum to index the ent_config array 2022-07-15 14:43:55 +01:00
vimc-debayer.c media: vimc: expand the names of vimc entity types 2022-07-15 14:42:14 +01:00
vimc-lens.c media: vimc: expand the names of vimc entity types 2022-07-15 14:42:14 +01:00
vimc-scaler.c media: vimc: expand the names of vimc entity types 2022-07-15 14:42:14 +01:00
vimc-sensor.c media: vimc: expand the names of vimc entity types 2022-07-15 14:42:14 +01:00
vimc-streamer.c
vimc-streamer.h