diff options
| author | Hans Verkuil <hverkuil+cisco@kernel.org> | 2025-10-07 17:09:18 +0200 |
|---|---|---|
| committer | Hans Verkuil <hverkuil+cisco@kernel.org> | 2026-01-06 08:22:46 +0100 |
| commit | 17e1e1641f74a89824d4de3aa38c78daa5686cc1 (patch) | |
| tree | 9d93632a41a0400a3b248389135dc7359a997458 /tools/perf/scripts/python | |
| parent | ccd797968922e5e6d0e59aa4883c432e5c906a4b (diff) | |
| download | linux-17e1e1641f74a89824d4de3aa38c78daa5686cc1.tar.gz linux-17e1e1641f74a89824d4de3aa38c78daa5686cc1.zip | |
media: omap3isp: isppreview: always clamp in preview_try_format()
If prev->input != PREVIEW_INPUT_MEMORY the width and height weren't
clamped. Just always clamp.
This fixes a v4l2-compliance error:
fail: v4l2-test-subdevs.cpp(171): fse.max_width == ~0U || fse.max_height == ~0U
fail: v4l2-test-subdevs.cpp(270): ret && ret != ENOTTY
test Try VIDIOC_SUBDEV_ENUM_MBUS_CODE/FRAME_SIZE/FRAME_INTERVAL: FAIL
Signed-off-by: Hans Verkuil <hverkuil+cisco@kernel.org>
Acked-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
