diff options
Diffstat (limited to 'extras/recipes-kernel/linux/linux-omap-psp-2.6.32/cam/0013-DEBUG-omap3beagle-camera-Force-mode0-in-cam_xclka.patch')
-rw-r--r-- | extras/recipes-kernel/linux/linux-omap-psp-2.6.32/cam/0013-DEBUG-omap3beagle-camera-Force-mode0-in-cam_xclka.patch | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/extras/recipes-kernel/linux/linux-omap-psp-2.6.32/cam/0013-DEBUG-omap3beagle-camera-Force-mode0-in-cam_xclka.patch b/extras/recipes-kernel/linux/linux-omap-psp-2.6.32/cam/0013-DEBUG-omap3beagle-camera-Force-mode0-in-cam_xclka.patch new file mode 100644 index 00000000..fceb5ed4 --- /dev/null +++ b/extras/recipes-kernel/linux/linux-omap-psp-2.6.32/cam/0013-DEBUG-omap3beagle-camera-Force-mode0-in-cam_xclka.patch | |||
@@ -0,0 +1,41 @@ | |||
1 | From 7c09434499a8daa650b934a62d3f651f868e0e70 Mon Sep 17 00:00:00 2001 | ||
2 | From: Sergio Aguirre <saaguirre@ti.com> | ||
3 | Date: Wed, 23 Jun 2010 15:03:24 -0500 | ||
4 | Subject: [PATCH 13/75] DEBUG: omap3beagle: camera: Force mode0 in cam_xclka | ||
5 | |||
6 | Signed-off-by: Sergio Aguirre <saaguirre@ti.com> | ||
7 | --- | ||
8 | arch/arm/mach-omap2/board-omap3beagle-camera.c | 3 +++ | ||
9 | 1 files changed, 3 insertions(+), 0 deletions(-) | ||
10 | |||
11 | diff --git a/arch/arm/mach-omap2/board-omap3beagle-camera.c b/arch/arm/mach-omap2/board-omap3beagle-camera.c | ||
12 | index 1652f15..77f9469 100644 | ||
13 | --- a/arch/arm/mach-omap2/board-omap3beagle-camera.c | ||
14 | +++ b/arch/arm/mach-omap2/board-omap3beagle-camera.c | ||
15 | @@ -34,6 +34,7 @@ | ||
16 | |||
17 | #include <plat/mux.h> | ||
18 | #include <plat/board.h> | ||
19 | +#include <plat/control.h> | ||
20 | |||
21 | #include <media/v4l2-int-device.h> | ||
22 | #include <media/mt9t111.h> | ||
23 | @@ -160,6 +161,7 @@ static int mt9t111_power_set(struct v4l2_int_device *s, enum v4l2_power power) | ||
24 | switch (power) { | ||
25 | case V4L2_POWER_OFF: | ||
26 | case V4L2_POWER_STANDBY: | ||
27 | + omap_ctrl_writew(0x0, 0x110); /* Control XCLKA output mux */ | ||
28 | isp_set_xclk(vdev->cam->isp, 0, CAM_USE_XCLKA); | ||
29 | |||
30 | if (regulator_is_enabled(beagle_mt9t111_reg1)) | ||
31 | @@ -169,6 +171,7 @@ static int mt9t111_power_set(struct v4l2_int_device *s, enum v4l2_power power) | ||
32 | break; | ||
33 | |||
34 | case V4L2_POWER_ON: | ||
35 | + omap_ctrl_writew(0x0, 0x110); /* Control XCLKA output mux */ | ||
36 | isp_set_xclk(vdev->cam->isp, MT9T111_CLK_MIN, CAM_USE_XCLKA); | ||
37 | |||
38 | #if defined(CONFIG_VIDEO_OMAP3) || defined(CONFIG_VIDEO_OMAP3_MODULE) | ||
39 | -- | ||
40 | 1.6.6.1 | ||
41 | |||