diff options
| author | Daniel Oakley <[email protected]> | 2022-06-16 10:07:45 +0000 |
|---|---|---|
| committer | Mauro Carvalho Chehab <[email protected]> | 2022-07-15 13:42:14 +0000 |
| commit | ec917d77c57c0b3499442d2148bc4ca3598a5e8a (patch) | |
| tree | 83d9a198f43344bb47839daea7ea5640bd9f928a /drivers/media/test-drivers/vimc/vimc-core.c | |
| parent | media: vimc: add ancillary lens (diff) | |
| download | kernel-ec917d77c57c0b3499442d2148bc4ca3598a5e8a.tar.gz kernel-ec917d77c57c0b3499442d2148bc4ca3598a5e8a.zip | |
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 <[email protected]>
Signed-off-by: Daniel Oakley <[email protected]>
Signed-off-by: Shuah Khan <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
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 }, }; |
