Explorar el Código

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>
Olivier Lorin hace 15 años
padre
commit
f980f5d2a4
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      drivers/media/video/gspca/gl860/gl860.c

+ 1 - 1
drivers/media/video/gspca/gl860/gl860.c

@@ -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)\