]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
media: v4l2-common: add missing 1 and 2 byte RGB formats to v4l2_format_info
authorSven Püschel <s.pueschel@pengutronix.de>
Wed, 20 May 2026 22:44:08 +0000 (00:44 +0200)
committerHans Verkuil <hverkuil+cisco@kernel.org>
Thu, 21 May 2026 10:32:18 +0000 (12:32 +0200)
commite623f2b7397079005e940d101b80796b3c39d229
tree4297192b6e3eae821b441873744979835f4df47f
parent3bb5a7d25a2bdc6ad22af404fb6f2cca01e96aaf
media: v4l2-common: add missing 1 and 2 byte RGB formats to v4l2_format_info

Add all missing one and two byte RGB formats to v4l2_format_info. This
allows drivers to more consistently use v4l2_format_info, as it now
covers all currently defined RGB formats.

Reviewed-by: Nicolas Dufresne <nicolas.dufresne@collabora.com>
Signed-off-by: Sven Püschel <s.pueschel@pengutronix.de>
Signed-off-by: Nicolas Dufresne <nicolas.dufresne@collabora.com>
Signed-off-by: Hans Verkuil <hverkuil+cisco@kernel.org>
drivers/media/v4l2-core/v4l2-common.c