diff options
| author | Kate Hsuan <hpa@redhat.com> | 2023-07-13 12:02:22 +0200 |
|---|---|---|
| committer | Mauro Carvalho Chehab <mchehab@kernel.org> | 2023-09-27 09:40:03 +0200 |
| commit | 8fc67b18fa1ccaf8c35919f27ccb119fdc2a35a8 (patch) | |
| tree | 1f27068c2234572e4082d3068ef7ab49e37497f2 /tools/perf/scripts/python/stackcollapse.py | |
| parent | b0e59612eb2cbb5c62343fba60893451bbfb4bbf (diff) | |
| download | linux-8fc67b18fa1ccaf8c35919f27ccb119fdc2a35a8.tar.gz linux-8fc67b18fa1ccaf8c35919f27ccb119fdc2a35a8.zip | |
media: atomisp: Make two individual enum to define the MIPI format
The original mipi_format_t represents the MIPI format settings for both
atomisp with the same name and the enum member was controlled by #if
defined(ISP2401). However, if we want to make this driver generic, this
enum should be individually defined for them.
Since the format type is redefined, the format setting function
ia_css_isys_set_fmt_type() should be reworked for ISP2400 and ISP2401
called ia_css_isys_2400_set_fmt_type() and ia_css_isys_2401_set_fmt_type()
.
Additionally, the function called is_mipi_format_yuv420() isn't used by any
functions so it can be removed.
Link: https://lore.kernel.org/r/20230713100231.308923-3-hpa@redhat.com
Signed-off-by: Kate Hsuan <hpa@redhat.com>
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/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
