diff options
author | Daniel Oakley <daniel.oakley@ideasonboard.com> | 2022-06-16 13:07:45 +0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@kernel.org> | 2022-07-15 16:42:14 +0300 |
commit | ec917d77c57c0b3499442d2148bc4ca3598a5e8a (patch) | |
tree | 83d9a198f43344bb47839daea7ea5640bd9f928a /drivers/media/test-drivers/vimc/vimc-core.c | |
parent | d534b9520a128d20d81d6dcf95441e806bdeb20f (diff) | |
download | linux-ec917d77c57c0b3499442d2148bc4ca3598a5e8a.tar.xz |
media: vimc: expand the names of vimc entity types
When introducing the lens controller, it became apparent that the vimc
entity type names were hard to understand, e.g. vimc_len_type refers to the
lens. The names of the vimc entity types have been expanded to make the
code easier to understand. 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>
Diffstat (limited to 'drivers/media/test-drivers/vimc/vimc-core.c')
-rw-r--r-- | drivers/media/test-drivers/vimc/vimc-core.c | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/drivers/media/test-drivers/vimc/vimc-core.c b/drivers/media/test-drivers/vimc/vimc-core.c index 166323406c6b..27bdebeb58e1 100644 --- a/drivers/media/test-drivers/vimc/vimc-core.c +++ b/drivers/media/test-drivers/vimc/vimc-core.c @@ -69,48 +69,48 @@ struct vimc_pipeline_config { static struct vimc_ent_config ent_config[] = { { .name = "Sensor A", - .type = &vimc_sen_type + .type = &vimc_sensor_type }, { .name = "Sensor B", - .type = &vimc_sen_type + .type = &vimc_sensor_type }, { .name = "Debayer A", - .type = &vimc_deb_type + .type = &vimc_debayer_type }, { .name = "Debayer B", - .type = &vimc_deb_type + .type = &vimc_debayer_type }, { .name = "Raw Capture 0", - .type = &vimc_cap_type + .type = &vimc_capture_type }, { .name = "Raw Capture 1", - .type = &vimc_cap_type + .type = &vimc_capture_type }, { /* TODO: change this to vimc-input when it is implemented */ .name = "RGB/YUV Input", - .type = &vimc_sen_type + .type = &vimc_sensor_type }, { .name = "Scaler", - .type = &vimc_sca_type + .type = &vimc_scaler_type }, { .name = "RGB/YUV Capture", - .type = &vimc_cap_type + .type = &vimc_capture_type }, { .name = "Lens A", - .type = &vimc_len_type + .type = &vimc_lens_type }, { .name = "Lens B", - .type = &vimc_len_type + .type = &vimc_lens_type }, }; |