]> www.infradead.org Git - users/jedix/linux-maple.git/commit
media: atomisp: Remove aliases for MIPI_FORMAT_2400_CUSTOM0
authorHans de Goede <hdegoede@redhat.com>
Sat, 15 Jul 2023 17:09:05 +0000 (19:09 +0200)
committerMauro Carvalho Chehab <mchehab@kernel.org>
Wed, 27 Sep 2023 07:40:03 +0000 (09:40 +0200)
commit983993cb8231993c1ecd10dab0dbe0ff2852d8fa
treedc684d46ffd6f0ccaca8c0a9006b20ccfaf23e30
parentb70fbcd6507ccb31b469214e11e8a37a8ea426b4
media: atomisp: Remove aliases for MIPI_FORMAT_2400_CUSTOM0

isp2400_input_system_local.h defines 2 aliases for MIPI_FORMAT_2400_CUSTOM0
MIPI_FORMAT_JPEG, which is entirely unused and MIPI_FORMAT_BINARY_8 which
is used once in ia_css_isys_2400_set_fmt_type().

Drop these aliases and directly use MIPI_FORMAT_2400_CUSTOM0 in
ia_css_isys_2400_set_fmt_type().

Link: https://lore.kernel.org/r/20230715170906.3627-2-hdegoede@redhat.com
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Reviewed-by: Kate Hsuan <hpa@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
drivers/staging/media/atomisp/pci/isp2400_input_system_local.h
drivers/staging/media/atomisp/pci/runtime/isys/src/rx.c