summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/gspca/m5602/m5602_s5k83a.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_s5k83a.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_s5k83a.c')
-rw-r--r--linux/drivers/media/video/gspca/m5602/m5602_s5k83a.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/linux/drivers/media/video/gspca/m5602/m5602_s5k83a.c b/linux/drivers/media/video/gspca/m5602/m5602_s5k83a.c
index a4d6a8163..c1ff967b1 100644
--- a/linux/drivers/media/video/gspca/m5602/m5602_s5k83a.c
+++ b/linux/drivers/media/video/gspca/m5602/m5602_s5k83a.c
@@ -63,6 +63,8 @@ int s5k83a_probe(struct sd *sd)
sensor_found:
sd->gspca_dev.cam.cam_mode = s5k83a.modes;
sd->gspca_dev.cam.nmodes = s5k83a.nmodes;
+ sd->desc->ctrls = s5k83a.ctrls;
+ sd->desc->nctrls = s5k83a.nctrls;
return 0;
}