diff options
| author | Niklas Söderlund <[email protected]> | 2023-02-22 23:12:47 +0100 |
|---|---|---|
| committer | Hans Verkuil <[email protected]> | 2023-04-11 17:10:10 +0200 |
| commit | 1e293874fabf41fb34d58e22153766fd2bf8c6aa (patch) | |
| tree | ef52428aa9cecae0eff03a8b02b5802ba4c4a801 /tools/perf/scripts/python | |
| parent | 89013969e23247661f0514c77f26d60fa083216c (diff) | |
media: i2c: adv748x: Fix lookup of DV timings
The loop to match the requested timings with the ones supported by the
driver is incorrect. It always iterates thru the whole array of
supported modes. The bounds check after the loop always triggers
resulting in adv748x_hdmi_set_video_timings() always returning -EINVAL.
Fix this by correcting the lookup to break the loop when a match is
found.
Signed-off-by: Niklas Söderlund <[email protected]>
Reviewed-by: Geert Uytterhoeven <[email protected]>
Signed-off-by: Hans Verkuil <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions