Message ID | 1275258437.18267.27.camel@miniol (mailing list archive) |
---|---|
State | Superseded |
Headers | show |
diff -urpN der_gl860i3/gl860.c gl860/gl860.c --- der_gl860i3/gl860.c 2010-04-29 21:01:15.000000000 +0200 +++ gl860/gl860.c 2010-04-28 23:45:19.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)\ @@ -595,10 +595,7 @@ int gl860_RTx(struct gspca_dev *gspca_de else if (len > 1 && r < len) PDEBUG(D_ERR, "short ctrl transfer %d/%d", r, len); - if (_MI2020_ && (val || index)) - msleep(1); - if (_OV2640_) - msleep(1); + msleep(1); return r; }