V4L/DVB: gspca - zc3xx: Don't change the registers 7 and 8 for sensor pas202b
authorJean-François Moine <moinejf@free.fr>
Fri, 4 Jun 2010 08:54:41 +0000 (05:54 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 2 Aug 2010 17:06:11 +0000 (14:06 -0300)
These registers seem to act on the JPEG compression whose control
is not implemented in the current driver.

Signed-off-by: Jean-François Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/gspca/zc3xx.c

index cbc20dbdcdc5b130bacdea4eacf310a106c5a1d1..73c4ebbcbfb17affcff9a0a19b9a6df9713473e4 100644 (file)
@@ -6915,10 +6915,6 @@ static int sd_start(struct gspca_dev *gspca_dev)
                reg_w(dev, 0x00, 0x0007);       /* (from win traces) */
                reg_w(dev, 0x02, ZC3XX_R008_CLOCKSETTING);
                break;
-       case SENSOR_PAS202B:
-               reg_w(dev, 0x32, 0x0007);       /* (from win traces) */
-               reg_w(dev, 0x02, ZC3XX_R008_CLOCKSETTING);
-               break;
        }
        return 0;
 }