diff options
| author | Hans de Goede <hdegoede@redhat.com> | 2023-01-13 15:40:58 +0100 |
|---|---|---|
| committer | Mauro Carvalho Chehab <mchehab@kernel.org> | 2023-02-08 08:24:34 +0100 |
| commit | a6fc86ed57a108cdc5078d93b17bcf56c234f94c (patch) | |
| tree | fc691b52c84eaf69613033d62209cd70d1df1dfa /scripts/gdb/linux/modules.py | |
| parent | 10704b452ab1b1040cfc08fb901e9226b9bfd460 (diff) | |
media: atomisp: ov2680: Fix ov2680_enum_frame_interval()
Fix and simplify ov2680_enum_frame_interval(), the index is not
an index into ov2680_res_preview[], so using N_PREVIEW is wrong.
Instead it is an index indexing the different framerates for
the resolution specified in fie->width, fie->height.
Since the ov2680 code only supports a single fixed 30 fps,
index must always be 0 and we don't need to check the other
fie input values.
Reviewed-by: Andy Shevchenko <andy@kernel.org>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
Diffstat (limited to 'scripts/gdb/linux/modules.py')
0 files changed, 0 insertions, 0 deletions
