diff options
| author | Jacopo Mondi <[email protected]> | 2023-05-05 09:16:19 +0200 |
|---|---|---|
| committer | Hans Verkuil <[email protected]> | 2023-05-25 16:21:22 +0200 |
| commit | eeaa47d182fedfe68b8fd40ef3798761c8904791 (patch) | |
| tree | f259369f37964bbd56b6fb59ebf09ae724d8a081 /tools/perf/scripts/python/task-analyzer.py | |
| parent | 25affde33b234b214b3e8f49a703b78a4b3bf8ca (diff) | |
media: ov5640: Drop dead code using frame_interval
The ov5640_update_pixel_rate() function handles the parallel and MIPI
CSI-2 cases separately.
When running on a parallel setup the V4L2_CID_PIXEL_RATE value is
calculated at the beginning of the function using the values configured
with the frame_interval operations, and then the function immediately
returns.
The remaining of the function handles the MIPI CSI-2 configuration and
should not use the 'current_fr' and 'def_fps' fields as those are only
relevant for parallel mode.
Drop a small section of dead code that updates vblank using
frame_interval on a MIPI CSI-2 setup.
Signed-off-by: Jacopo Mondi <[email protected]>
Signed-off-by: Sakari Ailus <[email protected]>
Signed-off-by: Hans Verkuil <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions