linux-stable/drivers/media/test-drivers
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
..
vicodec media: Kconfig: cleanup VIDEO_DEV dependencies 2022-03-18 05:58:35 +01:00
vidtv media: vidtv: use vfree() for memory allocated with vzalloc() 2022-03-18 07:28:17 +01:00
vimc media: vimc: use data link entities enum to index the ent_config array 2022-07-15 14:43:55 +01:00
vivid media: vivid: add HDMI Video Guard Band control 2022-06-20 10:30:30 +01:00
Kconfig media: media/*/Kconfig: sort entries 2022-03-18 05:58:35 +01:00
Makefile media: Makefiles: sort entries where it fits 2022-03-14 09:42:59 +01:00
vim2m.c media: vim2m: Remove repeated verbose license text 2021-09-30 10:07:55 +02:00