From: Robby Cai Date: Fri, 28 Sep 2012 09:25:25 +0000 (+0800) Subject: ENGR00225981-2 pxp: fix the coefficient for the YCbCr-RGB CSC X-Git-Tag: v3.0.35-fsl~404 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=2f5014785e6383099335040f522a9940c61c811b;p=karo-tx-linux.git ENGR00225981-2 pxp: fix the coefficient for the YCbCr-RGB CSC Fix the coefficient for the YCbCr-RGB Color space conversion. Signed-off-by: Robby Cai --- diff --git a/drivers/dma/pxp/pxp_dma_v2.c b/drivers/dma/pxp/pxp_dma_v2.c index 90e675d979ec..b74f62cac032 100644 --- a/drivers/dma/pxp/pxp_dma_v2.c +++ b/drivers/dma/pxp/pxp_dma_v2.c @@ -657,7 +657,7 @@ static void pxp_set_csc(struct pxps *pxp) /* CSC1 - YUV->RGB */ __raw_writel(0x84ab01f0, pxp->base + HW_PXP_CSC1_COEF0); - __raw_writel(0x01230204, pxp->base + HW_PXP_CSC1_COEF1); + __raw_writel(0x01980204, pxp->base + HW_PXP_CSC1_COEF1); __raw_writel(0x0730079c, pxp->base + HW_PXP_CSC1_COEF2); /* CSC2 - Bypass */