diff options
Diffstat (limited to 'extras/recipes-kernel/linux/linux-omap-psp-2.6.32/cam/0068-mt9t112-Make-context-B-stream-unlimited-frames.patch')
-rw-r--r-- | extras/recipes-kernel/linux/linux-omap-psp-2.6.32/cam/0068-mt9t112-Make-context-B-stream-unlimited-frames.patch | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/extras/recipes-kernel/linux/linux-omap-psp-2.6.32/cam/0068-mt9t112-Make-context-B-stream-unlimited-frames.patch b/extras/recipes-kernel/linux/linux-omap-psp-2.6.32/cam/0068-mt9t112-Make-context-B-stream-unlimited-frames.patch new file mode 100644 index 00000000..6025dc29 --- /dev/null +++ b/extras/recipes-kernel/linux/linux-omap-psp-2.6.32/cam/0068-mt9t112-Make-context-B-stream-unlimited-frames.patch | |||
@@ -0,0 +1,30 @@ | |||
1 | From 362f211f85aa5e0f7519fca599428e03b05cb05f Mon Sep 17 00:00:00 2001 | ||
2 | From: Sergio Aguirre <saaguirre@ti.com> | ||
3 | Date: Sun, 18 Jul 2010 01:47:41 -0500 | ||
4 | Subject: [PATCH 68/75] mt9t112: Make context B stream unlimited frames | ||
5 | |||
6 | Context A does this by default, so, only context B needs | ||
7 | to be configured like this. | ||
8 | |||
9 | Signed-off-by: Sergio Aguirre <saaguirre@ti.com> | ||
10 | --- | ||
11 | drivers/media/video/mt9t112.c | 3 +++ | ||
12 | 1 files changed, 3 insertions(+), 0 deletions(-) | ||
13 | |||
14 | diff --git a/drivers/media/video/mt9t112.c b/drivers/media/video/mt9t112.c | ||
15 | index 18d7ce5..3c516b4 100644 | ||
16 | --- a/drivers/media/video/mt9t112.c | ||
17 | +++ b/drivers/media/video/mt9t112.c | ||
18 | @@ -771,6 +771,9 @@ static int mt9t112_goto_capture(const struct i2c_client *client) | ||
19 | if (ret == 0x7) | ||
20 | return 0; | ||
21 | |||
22 | + /* Num Frames Run (B) */ | ||
23 | + mt9t112_mcu_write(ret, client, VAR(27, 5), 0); | ||
24 | + | ||
25 | /* Go to capture mode */ | ||
26 | mt9t112_mcu_write(ret, client, VAR8(1, 0), 2); | ||
27 | do { | ||
28 | -- | ||
29 | 1.6.6.1 | ||
30 | |||