summaryrefslogtreecommitdiff
path: root/drivers/media
diff options
context:
space:
mode:
authorSandor Yu <R01008@freescale.com>2015-01-04 14:53:07 +0800
committerNitin Garg <nitin.garg@freescale.com>2015-01-15 21:18:55 -0600
commitc126eb86640293f4406d2f889d1776ee9204a002 (patch)
tree905e19db83ae438b5766261991def974e68738db /drivers/media
parent1df94c722561eb6b91ac0b78c68505b6856831c9 (diff)
MLK-10068 pxp: Correct YUV32 format in PXP
YUV32 format in PXP actually is VUYA, so change format define from AYUV to VUYA. Signed-off-by: Sandor Yu <R01008@freescale.com>
Diffstat (limited to 'drivers/media')
-rw-r--r--drivers/media/platform/mxc/output/mxc_pxp_v4l2.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/media/platform/mxc/output/mxc_pxp_v4l2.c b/drivers/media/platform/mxc/output/mxc_pxp_v4l2.c
index b5500d0a4593..780e228a5c7f 100644
--- a/drivers/media/platform/mxc/output/mxc_pxp_v4l2.c
+++ b/drivers/media/platform/mxc/output/mxc_pxp_v4l2.c
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2010-2014 Freescale Semiconductor, Inc.
+ * Copyright (C) 2010-2015 Freescale Semiconductor, Inc.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -119,7 +119,7 @@ static unsigned int v4l2_fmt_to_pxp_fmt(u32 v4l2_pix_fmt)
else if (v4l2_pix_fmt == V4L2_PIX_FMT_UYVY)
pxp_fmt = PXP_PIX_FMT_UYVY;
else if (v4l2_pix_fmt == V4L2_PIX_FMT_YUV32)
- pxp_fmt = PXP_PIX_FMT_YUV444;
+ pxp_fmt = PXP_PIX_FMT_VUY444;
else if (v4l2_pix_fmt == V4L2_PIX_FMT_YUYV)
pxp_fmt = PXP_PIX_FMT_YUYV;