MLK-14844 pxp: Add RGB32 format to back-compatible.
authorGuoniu.Zhou <guoniu.zhou@nxp.com>
Mon, 8 May 2017 09:47:24 +0000 (17:47 +0800)
committerNitin Garg <nitin.garg@nxp.com>
Mon, 19 Mar 2018 20:22:11 +0000 (15:22 -0500)
The latest pxp_dma.h file change PXP_PIX_FMT_RGB32 to PXP_PIX_FMT_XRGB32 format,
but the userspace still use PXP_PIX_FMT_RGB32, so add back it and keep the same
with PXP_PIX_FMT_XRGB32 format.

Signed-off-by: Guoniu.Zhou <guoniu.zhou@nxp.com>
include/uapi/linux/pxp_dma.h

index 6a6a12a..4fb2aeb 100644 (file)
@@ -66,6 +66,7 @@ typedef unsigned char bool;
 #define PXP_PIX_FMT_ARGB32  fourcc('A', 'R', 'G', 'B') /*!< 32  ARGB-8-8-8-8 */
 #define PXP_PIX_FMT_RGBA32  fourcc('R', 'G', 'B', 'A') /*!< 32  RGBA-8-8-8-8 */
 #define PXP_PIX_FMT_ABGR32  fourcc('A', 'B', 'G', 'R') /*!< 32  ABGR-8-8-8-8 */
+#define PXP_PIX_FMT_RGB32      PXP_PIX_FMT_XRGB32
 /*! @} */
 /*! @name YUV Interleaved Formats */
 /*! @{ */