diff options
author | Tommaso Merciai <tomm.merciai@gmail.com> | 2023-12-20 13:40:23 +0100 |
---|---|---|
committer | Hans Verkuil <hverkuil-cisco@xs4all.nl> | 2024-02-23 14:33:32 +0100 |
commit | 188d2ff3342bdeea471d0d2f5599ef0fea7de5e2 (patch) | |
tree | e584da9130d586976dc0b107ba3cd948ce9f2695 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | d95d9c2c9356c217b8f37ea99e1f720d1bf785f4 (diff) |
media: i2c: alvium: fix req_fr check in alvium_s_frame_interval()
req_fr check in alvium_s_frame_interval() is incorrect. In particular
req_fr can't be >=max and <= min at the same time. Ensure the requested
frame rate remains within the supported range between min_fr and max_fr by
clamping it.
Also remove the unused dft_fr argument of alvium_get_frame_interval().
Signed-off-by: Tommaso Merciai <tomm.merciai@gmail.com>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions