diff options
| author | Laurent Pinchart <[email protected]> | 2022-10-17 12:44:27 +0200 |
|---|---|---|
| committer | Mauro Carvalho Chehab <[email protected]> | 2023-02-03 15:03:36 +0100 |
| commit | a2514b9a634ac0a2cfbc329822b8fb58ffe23a80 (patch) | |
| tree | 1f023acec3965af52c18f2af50b4b4c44f3c9bc2 /tools/perf/scripts/python/bin/task-analyzer-report | |
| parent | e5d363ca82b94b26d85043c26e865824f947a80b (diff) | |
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 <[email protected]>
Reviewed-by: Alexander Stein <[email protected]>
Signed-off-by: Sakari Ailus <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/task-analyzer-report')
0 files changed, 0 insertions, 0 deletions