diff options
author | Hans de Goede <[email protected]> | 2023-05-29 11:37:39 +0100 |
---|---|---|
committer | Mauro Carvalho Chehab <[email protected]> | 2023-06-09 15:38:13 +0100 |
commit | 1e28b9e048b5edd29c7bf9c8ce6d9d5dcda6f36b (patch) | |
tree | e2fd76633e314541a47a63daff9ad8ea7acd3ae1 /tools/perf/util/trace-event-scripting.c | |
parent | 3e399cf20f69b7f810bcdf98c8df6b1c2af88465 (diff) |
media: atomisp: Set crop before setting fmt
Some drivers which implement selections/crop only allow setting the format
with and height to either the crop rectangle width and height or to half
the crop rectangle width and height (binning). An example of such
a driver is the standard v4l2 ov5693 driver.
First set the crop rectangle to match the requested format
when trying or setting the sensor format, to match these drivers
expectations.
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Hans de Goede <[email protected]>
Reviewed-by: Andy Shevchenko <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions