diff options
| author | Jacopo Mondi <jacopo@jmondi.org> | 2022-05-13 15:14:06 +0100 |
|---|---|---|
| committer | Mauro Carvalho Chehab <mchehab@kernel.org> | 2022-07-08 15:30:30 +0100 |
| commit | b6ae502297610d5fbfa13158acd92145393f9838 (patch) | |
| tree | b39331544ecab037c05f41fb31250fb30370da28 /tools/perf/scripts/python | |
| parent | 19f2e3e63d3aa2fa1093bf89b1ab1d7fc2f8007b (diff) | |
| download | linux-b6ae502297610d5fbfa13158acd92145393f9838.tar.gz linux-b6ae502297610d5fbfa13158acd92145393f9838.zip | |
media: ov5640: Remove frame rate check from find_mode()
The current implementation of ov5640_find_mode() fails if the
frame rate programmed with s_frame_interval doesn't match the
maximum frame rate for the current mode.
This causes issues when moving from one mode with higher FPS to another
one which only supports a lower FPS range with tools like media-ctl.
It also forces users that do not use s_frame_interval(), but rather
configure blankings explicitly, to adjust the programmed FPS range to
avoid failures.
For this reason, remove the FPS check from ov5640_find_mode() and only
perform it at s_frame_interval() time.
Signed-off-by: Jacopo Mondi <jacopo@jmondi.org>
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
