From: Olivier Lorin Date: Thu, 24 Jun 2010 07:28:24 +0000 (-0300) Subject: V4L/DVB: gspca - gl860: setting changes applied after an EOI X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=f980f5d2a45ef1812933d52361aefd50f01e2193;p=openwrt%2Fstaging%2Fblogic.git 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 Signed-off-by: Jean-François Moine Signed-off-by: Mauro Carvalho Chehab --- diff --git a/drivers/media/video/gspca/gl860/gl860.c b/drivers/media/video/gspca/gl860/gl860.c index b59c4823c444..61319fa0d4e0 100644 --- a/drivers/media/video/gspca/gl860/gl860.c +++ b/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;\ 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)\