The patch number 14408 was added via Douglas Schilling Landgraf
<[email protected]>
to http://linuxtv.org/hg/v4l-dvb master development tree.
Kernel patches in this development tree may be modified to be backward
compatible with older kernels. Compatibility modifications will be
removed before inclusion into the mainstream Kernel
If anyone has any objections, please let us know by sending a message to:
Linux Media Mailing List <[email protected]>
------
From: Kuninori Morimoto <[email protected]>
mt9t112: modify exiting conditions from standby mode
This polling is needed if camera is in standby mode, but current exiting
condition is inverted.
Priority: normal
Signed-off-by: Kuninori Morimoto <[email protected]>
Signed-off-by: Guennadi Liakhovetski <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Signed-off-by: Douglas Schilling Landgraf <[email protected]>
---
linux/drivers/media/video/mt9t112.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff -r a983d1db5f5f -r e50bb36f881c linux/drivers/media/video/mt9t112.c
--- a/linux/drivers/media/video/mt9t112.c Sat Mar 06 22:18:23 2010 -0300
+++ b/linux/drivers/media/video/mt9t112.c Sat Mar 06 22:29:29 2010 -0300
@@ -514,7 +514,7 @@
/* 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);
---
Patch is available at:
http://linuxtv.org/hg/v4l-dvb/rev/e50bb36f881c826f4e1f7499696759117cacf389
_______________________________________________
linuxtv-commits mailing list
[email protected]
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linuxtv-commits