V4L/DVB (13921): gspca - zc3xx: Remove unuseful register write.
authorJean-Francois Moine <moinejf@free.fr>
Fri, 8 Jan 2010 11:03:23 +0000 (08:03 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Fri, 26 Feb 2010 18:10:31 +0000 (15:10 -0300)
Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/gspca/zc3xx.c

index 23f26d7e7003088628666605e054c53c3bf185a9..65497553cb994d61cd5ab3109f34c75d143fa65d 100644 (file)
@@ -6734,8 +6734,6 @@ static int sd_config(struct gspca_dev *gspca_dev,
        if (sensor < 0x20) {
                if (sensor == -1 || sensor == 0x10 || sensor == 0x12)
                        reg_w(gspca_dev->dev, 0x02, 0x0010);
-               else
-                       reg_w(gspca_dev->dev, sensor & 0x0f, 0x0010);
                reg_r(gspca_dev, 0x0010);
        }