aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/gspca/zc3xx.c
diff options
context:
space:
mode:
authorJean-Francois Moine <moinejf@free.fr>2010-01-08 08:03:23 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2010-02-26 15:10:31 -0300
commita20622f0f50be4afc217fba31b968f35fd5fea7b (patch)
treeafdb012f74e0ab3e348445e380bf272e786ea86e /drivers/media/video/gspca/zc3xx.c
parent56af5efca524cd4551ed4654a086742743cf18be (diff)
downloadkernel_samsung_aries-a20622f0f50be4afc217fba31b968f35fd5fea7b.zip
kernel_samsung_aries-a20622f0f50be4afc217fba31b968f35fd5fea7b.tar.gz
kernel_samsung_aries-a20622f0f50be4afc217fba31b968f35fd5fea7b.tar.bz2
V4L/DVB (13921): gspca - zc3xx: Remove unuseful register write.
Signed-off-by: Jean-Francois Moine <moinejf@free.fr> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/gspca/zc3xx.c')
-rw-r--r--drivers/media/video/gspca/zc3xx.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/media/video/gspca/zc3xx.c b/drivers/media/video/gspca/zc3xx.c
index 23f26d7..65497553 100644
--- a/drivers/media/video/gspca/zc3xx.c
+++ b/drivers/media/video/gspca/zc3xx.c
@@ -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);
}