diff options
| author | Jacopo Mondi <jacopo@jmondi.org> | 2022-11-04 14:24:52 +0000 |
|---|---|---|
| committer | Mauro Carvalho Chehab <mchehab@kernel.org> | 2022-11-25 08:46:02 +0000 |
| commit | e0b8d21b62561516d5077ec0e57d755e1cf51953 (patch) | |
| tree | 56d73c0fd4c1b797b123b70eeccd7167a89fc29d /tools/perf/scripts/python | |
| parent | media: ar0521: Setup controls at s_stream time (diff) | |
| download | linux-e0b8d21b62561516d5077ec0e57d755e1cf51953.tar.gz linux-e0b8d21b62561516d5077ec0e57d755e1cf51953.zip | |
media: ar0521: Rework startup sequence
The ar0521_write_mode() function explicitly programs the exposure time
register and the test pattern register, which are now setup by the call
to __v4l2_ctrl_handler_setup() in ar0521_set_stream().
Removing those register writes from ar0521_write_mode() reduces the
function to two operations: geometry configuration and pll
configuration.
Move geomerty configuration in the ar0521_set_stream() caller and rename
ar0521_write_mode() to ar0521_pll_config().
Signed-off-by: Jacopo Mondi <jacopo@jmondi.org>
Reviewed-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
