diff options
author | Javier Martin <javier.martin@vista-silicon.com> | 2012-03-26 08:17:48 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2012-05-15 08:42:17 -0400 |
commit | d509835e32bd761a2b7b446034a273da568e5573 (patch) | |
tree | 4cd012fe6c16d6d1814a4a51ece733b91f358587 /arch | |
parent | 5ff203b5d82edd581b1220aedbf55492f12cf416 (diff) |
[media] media: mx2_camera: Fix mbus format handling
Remove MX2_CAMERA_SWAP16 and MX2_CAMERA_PACK_DIR_MSB flags
so that the driver can negotiate with the attached sensor
whether the mbus format needs convertion from UYUV to YUYV
or not.
Signed-off-by: Javier Martin <javier.martin@vista-silicon.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/plat-mxc/include/mach/mx2_cam.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/arm/plat-mxc/include/mach/mx2_cam.h b/arch/arm/plat-mxc/include/mach/mx2_cam.h index 3c080a32dbf5..7ded6f1f74bc 100644 --- a/arch/arm/plat-mxc/include/mach/mx2_cam.h +++ b/arch/arm/plat-mxc/include/mach/mx2_cam.h | |||
@@ -23,7 +23,6 @@ | |||
23 | #ifndef __MACH_MX2_CAM_H_ | 23 | #ifndef __MACH_MX2_CAM_H_ |
24 | #define __MACH_MX2_CAM_H_ | 24 | #define __MACH_MX2_CAM_H_ |
25 | 25 | ||
26 | #define MX2_CAMERA_SWAP16 (1 << 0) | ||
27 | #define MX2_CAMERA_EXT_VSYNC (1 << 1) | 26 | #define MX2_CAMERA_EXT_VSYNC (1 << 1) |
28 | #define MX2_CAMERA_CCIR (1 << 2) | 27 | #define MX2_CAMERA_CCIR (1 << 2) |
29 | #define MX2_CAMERA_CCIR_INTERLACE (1 << 3) | 28 | #define MX2_CAMERA_CCIR_INTERLACE (1 << 3) |
@@ -31,7 +30,6 @@ | |||
31 | #define MX2_CAMERA_GATED_CLOCK (1 << 5) | 30 | #define MX2_CAMERA_GATED_CLOCK (1 << 5) |
32 | #define MX2_CAMERA_INV_DATA (1 << 6) | 31 | #define MX2_CAMERA_INV_DATA (1 << 6) |
33 | #define MX2_CAMERA_PCLK_SAMPLE_RISING (1 << 7) | 32 | #define MX2_CAMERA_PCLK_SAMPLE_RISING (1 << 7) |
34 | #define MX2_CAMERA_PACK_DIR_MSB (1 << 8) | ||
35 | 33 | ||
36 | /** | 34 | /** |
37 | * struct mx2_camera_platform_data - optional platform data for mx2_camera | 35 | * struct mx2_camera_platform_data - optional platform data for mx2_camera |