The patch number 14806 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: Hans Verkuil  <[email protected]>
usbvision: add delay before detecting the saa711x


The detection of the saa711x often failed. Adding a small delay before
attempting to detect it fixed this.

Priority: normal

Signed-off-by: Hans Verkuil <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Signed-off-by: Douglas Schilling Landgraf <[email protected]>


---

 linux/drivers/media/video/usbvision/usbvision-i2c.c |    3 +++
 1 file changed, 3 insertions(+)

diff -r 321b627f0ee2 -r 04889e88f5e4 
linux/drivers/media/video/usbvision/usbvision-i2c.c
--- a/linux/drivers/media/video/usbvision/usbvision-i2c.c       Wed May 12 
15:28:36 2010 -0300
+++ b/linux/drivers/media/video/usbvision/usbvision-i2c.c       Wed May 12 
15:29:36 2010 -0300
@@ -249,6 +249,9 @@
        switch (usbvision_device_data[usbvision->DevModel].Codec) {
        case CODEC_SAA7113:
        case CODEC_SAA7111:
+               /* Without this delay the detection of the saa711x is
+                  hit-and-miss. */
+               mdelay(10);
                v4l2_i2c_new_subdev(&usbvision->v4l2_dev,
                                &usbvision->i2c_adap, "saa7115",
                                "saa7115_auto", 0, saa711x_addrs);


---

Patch is available at: 
http://linuxtv.org/hg/v4l-dvb/rev/04889e88f5e4fa2068f767db37c87251d72a43ab

_______________________________________________
linuxtv-commits mailing list
[email protected]
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linuxtv-commits

Reply via email to