1 From ed4adfd60c1495b864720e1f79b0b2a443447e38 Mon Sep 17 00:00:00 2001
2 From: Dave Stevenson <dave.stevenson@raspberrypi.com>
3 Date: Thu, 8 Oct 2020 16:06:59 +0100
4 Subject: [PATCH] staging: bcm2835-codec: Replace deprecated
7 V4L2_PIX_FMT_BGR32 is deprecated as it is ambiguous over where
10 Swap to the newer V4L2_PIX_FMT_BGRX32 format.
12 Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
14 .../staging/vc04_services/bcm2835-codec/bcm2835-v4l2-codec.c | 2 +-
15 1 file changed, 1 insertion(+), 1 deletion(-)
17 --- a/drivers/staging/vc04_services/bcm2835-codec/bcm2835-v4l2-codec.c
18 +++ b/drivers/staging/vc04_services/bcm2835-codec/bcm2835-v4l2-codec.c
19 @@ -207,7 +207,7 @@ static const struct bcm2835_codec_fmt su
20 .mmal_fmt = MMAL_ENCODING_BGR24,
21 .size_multiplier_x2 = 2,
23 - .fourcc = V4L2_PIX_FMT_BGR32,
24 + .fourcc = V4L2_PIX_FMT_BGRX32,
26 .bytesperline_align = 32,