diff options
Diffstat (limited to 'extras/recipes-kernel/linux/linux-omap-psp-2.6.32/cam/0050-soc-camera-mt9t112-modify-exiting-conditions-from-st.patch')
-rw-r--r-- | extras/recipes-kernel/linux/linux-omap-psp-2.6.32/cam/0050-soc-camera-mt9t112-modify-exiting-conditions-from-st.patch | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/extras/recipes-kernel/linux/linux-omap-psp-2.6.32/cam/0050-soc-camera-mt9t112-modify-exiting-conditions-from-st.patch b/extras/recipes-kernel/linux/linux-omap-psp-2.6.32/cam/0050-soc-camera-mt9t112-modify-exiting-conditions-from-st.patch new file mode 100644 index 00000000..551717dd --- /dev/null +++ b/extras/recipes-kernel/linux/linux-omap-psp-2.6.32/cam/0050-soc-camera-mt9t112-modify-exiting-conditions-from-st.patch | |||
@@ -0,0 +1,31 @@ | |||
1 | From eb14ff193fa8cbe52f47349c0aeca2d91ea5cfd8 Mon Sep 17 00:00:00 2001 | ||
2 | From: Kuninori Morimoto <morimoto.kuninori@renesas.com> | ||
3 | Date: Tue, 2 Feb 2010 13:17:54 +0900 | ||
4 | Subject: [PATCH 50/75] soc-camera: mt9t112: modify exiting conditions from standby mode | ||
5 | |||
6 | This polling is needed if camera is in standby mode, but current exiting | ||
7 | condition is inverted. | ||
8 | |||
9 | Signed-off-by: Kuninori Morimoto <morimoto.kuninori@renesas.com> | ||
10 | Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de> | ||
11 | Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com> | ||
12 | --- | ||
13 | drivers/media/video/mt9t112.c | 2 +- | ||
14 | 1 files changed, 1 insertions(+), 1 deletions(-) | ||
15 | |||
16 | diff --git a/drivers/media/video/mt9t112.c b/drivers/media/video/mt9t112.c | ||
17 | index fc4dd60..7438f8d 100644 | ||
18 | --- a/drivers/media/video/mt9t112.c | ||
19 | +++ b/drivers/media/video/mt9t112.c | ||
20 | @@ -514,7 +514,7 @@ static int mt9t112_init_pll(const struct i2c_client *client) | ||
21 | /* poll to verify out of standby. Must Poll this bit */ | ||
22 | for (i = 0; i < 100; i++) { | ||
23 | mt9t112_reg_read(data, client, 0x0018); | ||
24 | - if (0x4000 & data) | ||
25 | + if (!(0x4000 & data)) | ||
26 | break; | ||
27 | |||
28 | mdelay(10); | ||
29 | -- | ||
30 | 1.6.6.1 | ||
31 | |||