diff options
| author | Hans de Goede <hdegoede@redhat.com> | 2023-12-29 18:41:55 +0300 |
|---|---|---|
| committer | Mauro Carvalho Chehab <mchehab@kernel.org> | 2024-02-01 08:57:35 +0300 |
| commit | 26b53392ca0e3c86df9a2bf7eb29a86a72377a37 (patch) | |
| tree | 8f0bd174fdcf97fccbbdbdad9935ff74ae1079c0 /tools/perf/scripts/python/sctop.py | |
| parent | 592bb51d048c180ac9f5a52167548f18fe896a43 (diff) | |
| download | linux-26b53392ca0e3c86df9a2bf7eb29a86a72377a37.tar.xz | |
media: atomisp: Refactor sensor crop + fmt setting
There are 3 code-paths all of 3 which need to do:
1. Get try or active state
2. lock state
3. Call atomisp_set_crop()
4. Call v4l2_subdev_call(input->camera, pad, set_fmt, state, fmt)
5. unlock state
Change atomisp_set_crop into atomisp_set_crop_and_fmt() which does all of
this and change the 3 code-paths which need this to use the new
atomisp_set_crop_and_fmt() function.
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/sctop.py')
0 files changed, 0 insertions, 0 deletions
