diff options
author | Hans de Goede <hdegoede@redhat.com> | 2024-03-17 00:48:30 +0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@kernel.org> | 2024-04-26 12:09:22 +0300 |
commit | c01ece4cbbb47947a6ad31933960b51e5e4c56a7 (patch) | |
tree | fa9be7bc9e07700c5b5706f426b6a81307c32e2f /drivers/staging/iio | |
parent | 8c40fa0bf74f61d9f007f5e4f11354c5d6269a7c (diff) | |
download | linux-c01ece4cbbb47947a6ad31933960b51e5e4c56a7.tar.xz |
media: atomisp: Replace V4L2_PIX_FMT_RGB32 with V4L2_PIX_FMT_RGBX32
V4L2_PIX_FMT_RGB32 is deprecated because its definition never made
clear if the 4th byte was alpha data or unused. Instead either
V4L2_PIX_FMT_ARGB32 or V4L2_PIX_FMT_RGBX32 should be used.
V4L2_PIX_FMT_RGB32 internally is mapped to IA_CSS_FRAME_FORMAT_RGBA888
and ia_css_frame_format.h says that the alpha bits there are unused,
so replace V4L2_PIX_FMT_RGB32 with V4L2_PIX_FMT_RGBX32.
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
Diffstat (limited to 'drivers/staging/iio')
0 files changed, 0 insertions, 0 deletions