drm/imx: fix typo in ipu_plane_formats[]
authorLaurentiu Palcu <laurentiu.palcu@nxp.com>
Wed, 28 Jun 2017 09:31:34 +0000 (12:31 +0300)
committerPhilipp Zabel <p.zabel@pengutronix.de>
Mon, 17 Jul 2017 13:57:51 +0000 (15:57 +0200)
The BGRA8888 appears twice in the ipu_plane_formats[] list. The
duplicate should be BGRX8888.

The original commit is:

commit 59d6b7189a96 ("drm/imx: ipuv3-plane: enable support for RGBX8888
and RGBA8888 pixel formats")

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@nxp.com>
Fixes: 59d6b7189a96 ("drm/imx: ipuv3-plane: enable support for RGBX8888 and RGBA8888 pixel")
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
drivers/gpu/drm/imx/ipuv3-plane.c

index d63e853a030064e3719787b5ba04a1241bedaa28..7b1bb0ffcb8d38bded63ebe6aa0254aad6cd04f1 100644 (file)
@@ -54,7 +54,7 @@ static const uint32_t ipu_plane_formats[] = {
        DRM_FORMAT_RGBA8888,
        DRM_FORMAT_RGBX8888,
        DRM_FORMAT_BGRA8888,
-       DRM_FORMAT_BGRA8888,
+       DRM_FORMAT_BGRX8888,
        DRM_FORMAT_UYVY,
        DRM_FORMAT_VYUY,
        DRM_FORMAT_YUYV,