diff options
author | Hans de Goede <[email protected]> | 2023-12-29 16:41:55 +0100 |
---|---|---|
committer | Mauro Carvalho Chehab <[email protected]> | 2024-02-01 06:57:35 +0100 |
commit | 26b53392ca0e3c86df9a2bf7eb29a86a72377a37 (patch) | |
tree | 8f0bd174fdcf97fccbbdbdad9935ff74ae1079c0 /tools/perf/scripts/python/syscall-counts.py | |
parent | 592bb51d048c180ac9f5a52167548f18fe896a43 (diff) |
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 <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions