diff options
| author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2023-01-16 15:44:44 +0100 |
|---|---|---|
| committer | Mauro Carvalho Chehab <mchehab@kernel.org> | 2023-02-03 15:01:23 +0100 |
| commit | ee4ce89366935da1c044d0417bf09f9f0e4a3457 (patch) | |
| tree | 9648579f1e981a926c3629bdc81c917b02e1560f /tools/perf/scripts/python/bin/task-analyzer-record | |
| parent | 693b5cb598cc787dd61b8b626bfd45c26b5b1290 (diff) | |
| download | linux-ee4ce89366935da1c044d0417bf09f9f0e4a3457.tar.gz linux-ee4ce89366935da1c044d0417bf09f9f0e4a3457.zip | |
media: i2c: imx290: Factor out black level setting to a function
The black level programmed in the BLKLEVEL register depends on the
output format. The black level value computation is currently performed
in imx290_set_ctrl(), in addition to having different black level values
in the output-specific register value tables. Move it to a separate
function to simplify the imx290_set_ctrl() code.
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Alexander Stein <alexander.stein@ew.tq-group.com>
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/bin/task-analyzer-record')
0 files changed, 0 insertions, 0 deletions
