patch-2.1.104 linux/drivers/char/c-qcam.c
Next file: linux/drivers/char/cyclades.c
Previous file: linux/drivers/char/bw-qcam.c
Back to the patch index
Back to the overall index
- Lines: 39
- Date:
Thu May 21 14:24:06 1998
- Orig file:
v2.1.103/linux/drivers/char/c-qcam.c
- Orig date:
Wed Apr 8 19:36:25 1998
diff -u --recursive --new-file v2.1.103/linux/drivers/char/c-qcam.c linux/drivers/char/c-qcam.c
@@ -149,7 +149,7 @@
ostat = stat = parport_read_status(qcam->pport);
for (i=0; i<250; i++)
{
- udelay(1000);
+ mdelay(1);
stat = parport_read_status(qcam->pport);
if (ostat != stat)
{
@@ -166,9 +166,9 @@
{
parport_write_control(qcam->pport, 0xc);
parport_write_control(qcam->pport, 0x8);
- udelay(1000);
+ mdelay(1);
parport_write_control(qcam->pport, 0xc);
- udelay(1000);
+ mdelay(1);
}
/* Reset the QuickCam and program for brightness, contrast,
@@ -325,7 +325,7 @@
{
/* Turn the port around */
parport_frob_control(q->pport, 0x20, 0x20);
- udelay(3000);
+ mdelay(3);
qcam_set_ack(q, 0);
if (qcam_await_ready1(q, 1)) {
kfree(tmpbuf);
@@ -392,7 +392,7 @@
return len;
}
parport_frob_control(q->pport, 0x20, 0);
- udelay(3000);
+ mdelay(3);
qcam_set_ack(q, 1);
if (qcam_await_ready1(q, 0))
{
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov