]> git.baikalelectronics.ru Git - kernel.git/commit
media: videodev2.h: change V4L2_PIX_FMT_BGRA444 define: fourcc was already in use
authorHans Verkuil <hverkuil@xs4all.nl>
Thu, 11 Jul 2019 08:53:25 +0000 (04:53 -0400)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Thu, 11 Jul 2019 13:00:38 +0000 (09:00 -0400)
commit32c615f6a359b3398fcdde23ae4883096f605fb4
treebe8f635b94fbaab4cb1fb386da1ea7736e2fb2ec
parent6dd5118c5565c207fff78e453fb150c2a43bd37c
media: videodev2.h: change V4L2_PIX_FMT_BGRA444 define: fourcc was already in use

The V4L2_PIX_FMT_BGRA444 define clashed with the pre-existing V4L2_PIX_FMT_SGRBG12
which strangely enough used the same fourcc, even though that fourcc made no sense
for a Bayer format. In any case, you can't have duplicates, so change the fourcc of
V4L2_PIX_FMT_BGRA444.

Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Cc: <stable@vger.kernel.org> # for v5.2 and up
Fixes: e268d29c7c8d1 ("media: v4l: Add definitions for missing 16-bit RGB4444 formats")
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Kieran Bingham <kieran.bingham+renesas@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
include/uapi/linux/videodev2.h