diff mbox

[3/6] gspca - gl860: USB control message delay unification

Message ID 1275433068.20756.101.camel@miniol (mailing list archive)
State Accepted
Headers show

Commit Message

Olivier Lorin June 1, 2010, 10:57 p.m. UTC
None
diff mbox

Patch

diff -urpN i2/gl860.c gl860/gl860.c
--- i2/gl860.c	2010-06-01 23:11:26.000000000 +0200
+++ gl860/gl860.c	2010-06-01 23:16:59.000000000 +0200
@@ -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;
 }