diff options
| author | Hans Verkuil <hverkuil+cisco@kernel.org> | 2025-10-07 17:06:43 +0200 |
|---|---|---|
| committer | Hans Verkuil <hverkuil+cisco@kernel.org> | 2026-01-06 08:22:46 +0100 |
| commit | ccd797968922e5e6d0e59aa4883c432e5c906a4b (patch) | |
| tree | c37fb42a923aedadc0099533e9978df55fc48b07 /tools/perf/scripts/python/stackcollapse.py | |
| parent | 44c383116d3587662661e94e75842d92fb3a4bee (diff) | |
| download | linux-ccd797968922e5e6d0e59aa4883c432e5c906a4b.tar.gz linux-ccd797968922e5e6d0e59aa4883c432e5c906a4b.zip | |
media: omap3isp: ispccp2: always clamp in ccp2_try_format()
If ccp2->input == CCP2_INPUT_NONE, then try_format didn't clamp
the width and height. This can happen with v4l2-compliance tests.
Always clamp.
This fixes this 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/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
