projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fc4a7f9
)
soc-camera: mt9t112: modify exiting conditions from standby mode
author
Kuninori Morimoto
<
[email protected]
>
Tue, 2 Feb 2010 04:17:54 +0000
(13:17 +0900)
committer
Mauro Carvalho Chehab
<
[email protected]
>
Fri, 19 Feb 2010 05:19:01 +0000
(
03:19
-0200)
This polling is needed if camera is in standby mode, but current exiting
condition is inverted.
Signed-off-by: Kuninori Morimoto <
[email protected]
>
Signed-off-by: Guennadi Liakhovetski <
[email protected]
>
Signed-off-by: Mauro Carvalho Chehab <
[email protected]
>
drivers/media/video/mt9t112.c
patch
|
blob
|
history
diff --git
a/drivers/media/video/mt9t112.c
b/drivers/media/video/mt9t112.c
index fc4dd6045720a0bcabafa3f91b14b7e5366ec461..7438f8d775ba7fa09fb32f9ad2f0a8934606afb5 100644
(file)
--- a/
drivers/media/video/mt9t112.c
+++ b/
drivers/media/video/mt9t112.c
@@
-514,7
+514,7
@@
static int mt9t112_init_pll(const struct i2c_client *client)
/* poll to verify out of standby. Must Poll this bit */
for (i = 0; i < 100; i++) {
mt9t112_reg_read(data, client, 0x0018);
- if (
0x4000 & data
)
+ if (
!(0x4000 & data)
)
break;
mdelay(10);