diff options
author | Hans de Goede <[email protected]> | 2023-05-29 11:37:36 +0100 |
---|---|---|
committer | Mauro Carvalho Chehab <[email protected]> | 2023-06-09 15:33:09 +0100 |
commit | a08183b8460e4800c186b754026b6fd937370871 (patch) | |
tree | 8e64aaab1874c58cff7561951dbc57e05fc9c897 /tools/perf/util/trace-event-scripting.c | |
parent | 04eca831605390071be83b87774e4987639e6331 (diff) |
media: atomisp: Pass MEDIA_BUS_FMT_* code when calling enum_frame_size pad-op
A sensor driver's enum_frame_size pad-op may return -EINVAL when
v4l2_subdev_frame_size_enum.code is not set to a supported
MEDIA_BUS_FMT_* code.
Make atomisp_init_sensor() get the sensor's MEDIA_BUS_FMT_* code and
pass this when calling the enum_frame_size pad-op.
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