diff options
author | Kieran Bingham <kieran.bingham@ideasonboard.com> | 2025-04-30 10:36:49 +0300 |
---|---|---|
committer | Hans Verkuil <hverkuil@xs4all.nl> | 2025-05-06 14:06:30 +0300 |
commit | b240df2913d396638033b86af0f0ff76aa1aafc8 (patch) | |
tree | eab349b0e0a1b8a581cad94b808414bbe5d46e51 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 00cd2d3a1b368685b1302bd45c4783d4c5b907b9 (diff) | |
download | linux-b240df2913d396638033b86af0f0ff76aa1aafc8.tar.xz |
media: i2c: imx335: Fix frame size enumeration
In commit cfa49ff0558a ("media: i2c: imx335: Support 2592x1940 10-bit
mode") the IMX335 driver was extended to support multiple output
bitdepth modes.
This incorrectly extended the frame size enumeration to check against
the supported mbus_codes array instead of the supported mode/frame
array. This has the unwanted side effect of reporting the currently
supported frame size 2592x1944 three times.
Fix the check accordingly to report a frame size for each supported
size, which is presently only a single entry.
Fixes: cfa49ff0558a ("media: i2c: imx335: Support 2592x1940 10-bit mode")
Cc: stable@vger.kernel.org
Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions