MLK-19915: m2m: correct V4L2_PIX_FMT_RGB32 to V4L2_PIX_FMT_XRGB32
authorGuoniu.Zhou <guoniu.zhou@nxp.com>
Fri, 12 Oct 2018 10:42:18 +0000 (18:42 +0800)
committerLeonard Crestez <leonard.crestez@nxp.com>
Wed, 17 Apr 2019 23:51:34 +0000 (02:51 +0300)
Because V4L2_PIX_FMT_RGB32 is deprecated and must not
be used by new drivers. V4L2_PIX_FMT_XRGB32 is used to
replace it.

Signed-off-by: Guoniu.Zhou <guoniu.zhou@nxp.com>
(cherry picked from commit e9e5c58dbea63bad8be43c924d35d499499b1804)

drivers/media/platform/imx8/mxc-isi-m2m.c

index 25cd977..900a323 100644 (file)
@@ -45,7 +45,7 @@ struct mxc_isi_fmt mxc_isi_input_formats[] = {
        /* Pixel link input format */
        {
                .name           = "RGB32",
-               .fourcc         = V4L2_PIX_FMT_RGB32,
+               .fourcc         = V4L2_PIX_FMT_XRGB32,
                .depth          = { 32 },
                .color =        MXC_ISI_M2M_IN_FMT_XRGB8,
                .memplanes      = 1,