[COMMON] media: smfc: fix missing buffer length for RGB32 formats
authorCho KyongHo <pullip.cho@samsung.com>
Wed, 1 Jul 2015 06:57:59 +0000 (15:57 +0900)
committerCosmin Tanislav <demonsingur@gmail.com>
Mon, 22 Apr 2024 17:22:19 +0000 (20:22 +0300)
Change-Id: Ic2b20937eaa19b79f1264c86c9a46bb662e99714
Signed-off-by: Cho KyongHo <pullip.cho@samsung.com>
drivers/media/platform/exynos/smfc/smfc.c

index 7a2d1b724c80e2ded0986e2088e4928396d53e30..ad97da788c1728911e5926c631e8fd7373b37f47 100644 (file)
@@ -209,6 +209,7 @@ const struct smfc_image_format smfc_image_formats[] = {
                .description    = "ABGR8888 LE 32BPP",
                .v4l2_pixfmt    = V4L2_PIX_FMT_RGB32,
                .regcfg         = SMFC_IMGFMT_RGBA32,
+               .bpp_buf        = {32},
                .bpp_pix        = {32},
                .num_planes     = 1,
                .num_buffers    = 1,
@@ -218,6 +219,7 @@ const struct smfc_image_format smfc_image_formats[] = {
                .description    = "ARGB8888 BE 32BPP",
                .v4l2_pixfmt    = V4L2_PIX_FMT_BGR32,
                .regcfg         = SMFC_IMGFMT_BGRA32,
+               .bpp_buf        = {32},
                .bpp_pix        = {32},
                .num_planes     = 1,
                .num_buffers    = 1,