Skip to contentSkip to conversation

gspca - gl860: setting changes applied after an EOI

PATCH New Olivier Lorin 1 participant 1 message Jun 1, 2010 Media (V4L/DVB)

lore
Share & tools
lore
#0 lore raw

PATCH 2/6 gspca - gl860: setting changes applied after an EOI

gspca - gl860: setting changes applied after an EOI

From: Olivier Lorin <[email protected]>

- 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.

Priority: normal

gl860.c +1 -1
diff -urpN i1/gl860.c gl860/gl860.c
@@ -63,7 +63,7 @@ static int sd_set_##thename(struct gspca
 \
 	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)\