diff options
Diffstat (limited to 'extras/recipes-kernel/linux/linux-omap-psp-2.6.32/cam/0071-mt9t112-Trigger-autofocus-at-the-end-of-context-swit.patch')
-rw-r--r-- | extras/recipes-kernel/linux/linux-omap-psp-2.6.32/cam/0071-mt9t112-Trigger-autofocus-at-the-end-of-context-swit.patch | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/extras/recipes-kernel/linux/linux-omap-psp-2.6.32/cam/0071-mt9t112-Trigger-autofocus-at-the-end-of-context-swit.patch b/extras/recipes-kernel/linux/linux-omap-psp-2.6.32/cam/0071-mt9t112-Trigger-autofocus-at-the-end-of-context-swit.patch new file mode 100644 index 00000000..10ba57db --- /dev/null +++ b/extras/recipes-kernel/linux/linux-omap-psp-2.6.32/cam/0071-mt9t112-Trigger-autofocus-at-the-end-of-context-swit.patch | |||
@@ -0,0 +1,35 @@ | |||
1 | From 18589703f191cee2568324b475ae479dd7f3b779 Mon Sep 17 00:00:00 2001 | ||
2 | From: Sergio Aguirre <saaguirre@ti.com> | ||
3 | Date: Mon, 19 Jul 2010 17:45:38 -0500 | ||
4 | Subject: [PATCH 71/75] mt9t112: Trigger autofocus at the end of context switch | ||
5 | |||
6 | Signed-off-by: Sergio Aguirre <saaguirre@ti.com> | ||
7 | --- | ||
8 | drivers/media/video/mt9t112.c | 4 ++-- | ||
9 | 1 files changed, 2 insertions(+), 2 deletions(-) | ||
10 | |||
11 | diff --git a/drivers/media/video/mt9t112.c b/drivers/media/video/mt9t112.c | ||
12 | index 8528417..0769f66 100644 | ||
13 | --- a/drivers/media/video/mt9t112.c | ||
14 | +++ b/drivers/media/video/mt9t112.c | ||
15 | @@ -1080,8 +1080,6 @@ static int mt9t112_v4l2_int_s_power(struct v4l2_int_device *s, | ||
16 | mt9t112_pixfmt_to_order(priv->pix.pixelformat)); | ||
17 | mt9t112_mcu_write(ret, client, VAR8(1, 0), 0x06); | ||
18 | |||
19 | - ECHECKER(ret, mt9t112_auto_focus_trigger(client)); | ||
20 | - | ||
21 | ECHECKER(ret, mt9t112_goto_preview(client)); | ||
22 | |||
23 | if ((priv->pix.width == MAX_WIDTH) && | ||
24 | @@ -1089,6 +1087,8 @@ static int mt9t112_v4l2_int_s_power(struct v4l2_int_device *s, | ||
25 | ECHECKER(ret, mt9t112_goto_capture(client)); | ||
26 | } | ||
27 | |||
28 | + ECHECKER(ret, mt9t112_auto_focus_trigger(client)); | ||
29 | + | ||
30 | dev_dbg(&client->dev, "format : %d\n", priv->pix.pixelformat); | ||
31 | dev_dbg(&client->dev, "size : %d x %d\n", | ||
32 | priv->pix.width, | ||
33 | -- | ||
34 | 1.6.6.1 | ||
35 | |||