[glsdk/meta-ti-glsdk.git] / recipes-kernel / linux / linux-ti33x-psp-3.2 / beaglebone / 0077-beaglebone-disable-UYVY-VYUY-and-YVYU-modes-in-camer.patch
1 From 850bc72301ae8eae6e9d11a9ec4d64bc683410fe Mon Sep 17 00:00:00 2001
2 From: Dan Aizenstros <daizenstros@quicklogic.com>
3 Date: Wed, 11 Jul 2012 12:29:29 -0400
4 Subject: [PATCH 77/79] beaglebone: disable UYVY, VYUY and YVYU modes in
5 camera_cssp.c
7 Signed-off-by: Dan Aizenstros <daizenstros@quicklogic.com>
8 Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
9 ---
10 drivers/media/video/cssp_camera/cssp_camera.c | 6 ++++++
11 1 file changed, 6 insertions(+)
13 diff --git a/drivers/media/video/cssp_camera/cssp_camera.c b/drivers/media/video/cssp_camera/cssp_camera.c
14 index 34a36d7..acd38ee 100644
15 --- a/drivers/media/video/cssp_camera/cssp_camera.c
16 +++ b/drivers/media/video/cssp_camera/cssp_camera.c
17 @@ -60,6 +60,11 @@ static struct cssp_cam_fmt formats[] = {
18 .depth = 16,
19 .code = V4L2_MBUS_FMT_YUYV8_2X8,
20 },
21 +/*
22 + * UYVY doesn't work properly. VYUY and YVYU are not tested.
23 + * So disable the UYVY, VYUY and YVYU modes for now
24 + */
25 +#if 0
26 {
27 .name = "4:2:2, packed, UYVY",
28 .fourcc = V4L2_PIX_FMT_UYVY,
29 @@ -78,6 +83,7 @@ static struct cssp_cam_fmt formats[] = {
30 .depth = 16,
31 .code = V4L2_MBUS_FMT_YVYU8_2X8,
32 },
33 +#endif
34 {
35 .name = "RGB565 (LE)",
36 .fourcc = V4L2_PIX_FMT_RGB565,
37 --
38 1.7.10