This is an automatic generated email to let you know that the following patch 
were queued at the 
http://git.linuxtv.org/media_tree.git tree:

Subject: [media] gspca - ov519: Bad detection of some ov7670 sensors
Author:  Jean-François Moine <[email protected]>
Date:    Sat Dec 25 13:58:45 2010 -0300

Tested-by: jim smyth <[email protected]>
Signed-off-by: Jean-François Moine <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>

 drivers/media/video/gspca/ov519.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

---

http://git.linuxtv.org/media_tree.git?a=commitdiff;h=9478ba48e01683247f47af2205a8fddce3a74540

diff --git a/drivers/media/video/gspca/ov519.c 
b/drivers/media/video/gspca/ov519.c
index 0ed21db..e1c3b93 100644
--- a/drivers/media/video/gspca/ov519.c
+++ b/drivers/media/video/gspca/ov519.c
@@ -2676,8 +2676,8 @@ static void ov7xx0_configure(struct sd *sd)
                high = i2c_r(sd, 0x0a);
                low = i2c_r(sd, 0x0b);
                /* info("%x, %x", high, low); */
-               if (high == 0x76 && low == 0x73) {
-                       PDEBUG(D_PROBE, "Sensor is an OV7670");
+               if (high == 0x76 && (low & 0xf0) == 0x70) {
+                       PDEBUG(D_PROBE, "Sensor is an OV76%02x", low);
                        sd->sensor = SEN_OV7670;
                } else {
                        PDEBUG(D_PROBE, "Sensor is an OV7610");

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

Reply via email to