From: Sheng Nan Date: Wed, 16 Jan 2013 03:06:30 +0000 (+0800) Subject: ENGR00240228: IPUv3: CSI: Correct enum definition of IPU_CSI_DATA_WIDTH X-Git-Tag: v3.0.35-fsl~148 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=3b36d5d5aaba05c6f70fa4bf2f0cd215b340c128;p=karo-tx-linux.git ENGR00240228: IPUv3: CSI: Correct enum definition of IPU_CSI_DATA_WIDTH The current definition for with 10 and 16 is not correct. IPU_CSI_DATA_WIDTH_10 = 2; IPU_CSI_DATA_WIDTH_16 = 3; According to the latest i.MX6DQ RM, the correct value should be: IPU_CSI_DATA_WIDTH_10 = 3; IPU_CSI_DATA_WIDTH_16 = 9; Signed-off-by: Sheng Nan --- diff --git a/arch/arm/plat-mxc/include/mach/ipu-v3.h b/arch/arm/plat-mxc/include/mach/ipu-v3.h index 519e628d73ee..fb9dc383e023 100755 --- a/arch/arm/plat-mxc/include/mach/ipu-v3.h +++ b/arch/arm/plat-mxc/include/mach/ipu-v3.h @@ -1,6 +1,6 @@ /* * Copyright (c) 2010 Sascha Hauer - * Copyright (C) 2011-2012 Freescale Semiconductor, Inc. + * Copyright (C) 2011-2013 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 the @@ -419,10 +419,10 @@ typedef struct { * Enumeration of CSI data bus widths. */ enum { - IPU_CSI_DATA_WIDTH_4, - IPU_CSI_DATA_WIDTH_8, - IPU_CSI_DATA_WIDTH_10, - IPU_CSI_DATA_WIDTH_16, + IPU_CSI_DATA_WIDTH_4 = 0, + IPU_CSI_DATA_WIDTH_8 = 1, + IPU_CSI_DATA_WIDTH_10 = 3, + IPU_CSI_DATA_WIDTH_16 = 9, }; /*!