diff options
author | Tommaso Merciai <[email protected]> | 2023-12-20 13:40:23 +0100 |
---|---|---|
committer | Hans Verkuil <[email protected]> | 2024-02-23 14:33:32 +0100 |
commit | 188d2ff3342bdeea471d0d2f5599ef0fea7de5e2 (patch) | |
tree | e584da9130d586976dc0b107ba3cd948ce9f2695 /tools/perf/util/trace-event-scripting.c | |
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 <[email protected]>
Signed-off-by: Sakari Ailus <[email protected]>
Signed-off-by: Hans Verkuil <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions