diff options
| author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2022-10-17 12:44:27 +0200 |
|---|---|---|
| committer | Mauro Carvalho Chehab <mchehab@kernel.org> | 2023-02-03 15:03:36 +0100 |
| commit | a2514b9a634ac0a2cfbc329822b8fb58ffe23a80 (patch) | |
| tree | 1f023acec3965af52c18f2af50b4b4c44f3c9bc2 /tools/perf/scripts/python/export-to-postgresql.py | |
| parent | e5d363ca82b94b26d85043c26e865824f947a80b (diff) | |
| download | linux-a2514b9a634ac0a2cfbc329822b8fb58ffe23a80.tar.gz linux-a2514b9a634ac0a2cfbc329822b8fb58ffe23a80.zip | |
media: i2c: imx290: Use V4L2 subdev active state
Use the V4L2 subdev active state API to store the active format. This
simplifies the driver not only by dropping the imx290 current_format
field, but it also allows dropping the imx290 lock, replaced with the
state lock.
The lock check in imx290_ctrl_update() can be dropped as
imx290_set_fmt() can't be called anywmore with which set to ACTIVE
before controls are initialized.
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Alexander Stein <alexander.stein@ew.tq-group.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/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions
