V4L/DVB: gspca - gl860: setting changes applied after an EOI

- 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>
This commit is contained in:
Olivier Lorin 2010-06-24 04:28:24 -03:00 committed by Mauro Carvalho Chehab
parent ccbc3cf22c
commit f980f5d2a4

View file

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