patch-2.1.104 linux/drivers/char/bw-qcam.c

Next file: linux/drivers/char/c-qcam.c
Previous file: linux/drivers/char/bttv.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.103/linux/drivers/char/bw-qcam.c linux/drivers/char/bw-qcam.c
@@ -112,7 +112,7 @@
 	do {
 		qc_command(q, 33);
 		value = qc_readparam(q);
-		udelay(1000);
+		mdelay(1);
 		schedule();
 		count++;
 	} while (value == 0xff && count<2048);
@@ -296,7 +296,7 @@
 		if (reg != lastreg)
 			count++;
 		lastreg = reg;
-		udelay(1000);
+		mdelay(1);
 	}
 
 	/* Be liberal in what you accept...  */

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov