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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



gspca - gl860: setting changes applied after an EOI

From: Olivier Lorin <o.lorin@xxxxxxxxxxx>

- 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

Signed-off-by: Olivier Lorin <o.lorin@xxxxxxxxxxx>

diff -urpN i1/gl860.c gl860/gl860.c
--- i1/gl860.c	2010-06-01 23:26:22.000000000 +0200
+++ gl860/gl860.c	2010-06-01 23:11:26.000000000 +0200
@@ -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)\


--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux