summaryrefslogtreecommitdiff
path: root/drivers/media/video/gspca/m5602/m5602_po1030.c
diff options
context:
space:
mode:
authorErik Andren <erik.andren@gmail.com>2008-10-03 22:29:02 +0400
committerMauro Carvalho Chehab <mchehab@redhat.com>2008-10-12 15:37:13 +0400
commitd2d7e9ae3138307284c815e1c37ea0b7b8834692 (patch)
tree2e4cfaa2010c34130c86f0a2d16e10950810b279 /drivers/media/video/gspca/m5602/m5602_po1030.c
parent1b3345996c056a979cfabf96c0815b4843d9bbfc (diff)
downloadlinux-d2d7e9ae3138307284c815e1c37ea0b7b8834692.tar.xz
V4L/DVB (9095): gspca: Moves some sensor initialization to each sensor in m5602.
Signed-off-by: Erik Andren <erik.andren@gmail.com> 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/m5602/m5602_po1030.c')
-rw-r--r--drivers/media/video/gspca/m5602/m5602_po1030.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/media/video/gspca/m5602/m5602_po1030.c b/drivers/media/video/gspca/m5602/m5602_po1030.c
index 14a8f929dd18..08c015bde115 100644
--- a/drivers/media/video/gspca/m5602/m5602_po1030.c
+++ b/drivers/media/video/gspca/m5602/m5602_po1030.c
@@ -59,6 +59,8 @@ int po1030_probe(struct sd *sd)
sensor_found:
sd->gspca_dev.cam.cam_mode = po1030.modes;
sd->gspca_dev.cam.nmodes = po1030.nmodes;
+ sd->desc->ctrls = po1030.ctrls;
+ sd->desc->nctrls = po1030.nctrls;
return 0;
}