summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/gspca/m5602/m5602_ov9650.c
diff options
context:
space:
mode:
authorJean-Francois Moine <moinejf@free.fr>2008-10-03 20:29:02 +0200
committerJean-Francois Moine <moinejf@free.fr>2008-10-03 20:29:02 +0200
commit53fe2488319296910abb4d88ead573224a1f99b2 (patch)
treef0b765f1e784c0944c39a2e35d824ea16b25425a /linux/drivers/media/video/gspca/m5602/m5602_ov9650.c
parentb919f302ebe29af34e422ccc0a1af08542bd5df4 (diff)
downloadmediapointer-dvb-s2-53fe2488319296910abb4d88ead573224a1f99b2.tar.gz
mediapointer-dvb-s2-53fe2488319296910abb4d88ead573224a1f99b2.tar.bz2
gspca: Moves some sensor initialization to each sensor in m5602.
From: Erik Andren <erik.andren@gmail.com> Priority: normal Signed-off-by: Erik Andren <erik.andren@gmail.com> Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Diffstat (limited to 'linux/drivers/media/video/gspca/m5602/m5602_ov9650.c')
-rw-r--r--linux/drivers/media/video/gspca/m5602/m5602_ov9650.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/linux/drivers/media/video/gspca/m5602/m5602_ov9650.c b/linux/drivers/media/video/gspca/m5602/m5602_ov9650.c
index 74c3ffec0..31c589625 100644
--- a/linux/drivers/media/video/gspca/m5602/m5602_ov9650.c
+++ b/linux/drivers/media/video/gspca/m5602/m5602_ov9650.c
@@ -132,6 +132,8 @@ int ov9650_probe(struct sd *sd)
sensor_found:
sd->gspca_dev.cam.cam_mode = ov9650.modes;
sd->gspca_dev.cam.nmodes = ov9650.nmodes;
+ sd->desc->ctrls = ov9650.ctrls;
+ sd->desc->nctrls = ov9650.nctrls;
return 0;
}