V4L/DVB: gspca - gl860: setting changes applied after an EOI
authorOlivier Lorin <o.lorin@laposte.net>
Thu, 24 Jun 2010 07:28:24 +0000 (04:28 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 2 Aug 2010 17:50:08 +0000 (14:50 -0300)
- Setting changes applied after an end of image marker reception
  This is the way MI2020 sensor works.
  It seems to be logical to wait for a complete image before
  to change a setting.

Signed-off-by: Olivier Lorin <o.lorin@laposte.net>
Signed-off-by: Jean-François Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/gspca/gl860/gl860.c

index b59c482..61319fa 100644 (file)
@@ -63,7 +63,7 @@ static int sd_set_##thename(struct gspca_dev *gspca_dev, s32 val)\
 \
        sd->vcur.thename = val;\
        if (gspca_dev->streaming)\
-               sd->dev_camera_settings(gspca_dev);\
+               sd->waitSet = 1;\
        return 0;\
 } \
 static int sd_get_##thename(struct gspca_dev *gspca_dev, s32 *val)\