patch-2.1.104 linux/drivers/char/msp3400.c
Next file: linux/drivers/char/pc_keyb.c
Previous file: linux/drivers/char/mem.c
Back to the patch index
Back to the overall index
- Lines: 26
- Date:
Thu May 21 14:24:06 1998
- Orig file:
v2.1.103/linux/drivers/char/msp3400.c
- Orig date:
Wed Apr 8 19:36:26 1998
diff -u --recursive --new-file v2.1.103/linux/drivers/char/msp3400.c linux/drivers/char/msp3400.c
@@ -88,14 +88,14 @@
{
int ret = 0;
- udelay(2000);
+ mdelay(2);
i2c_start(bus);
i2c_sendbyte(bus, I2C_MSP3400C,2000);
i2c_sendbyte(bus, 0x00,0);
i2c_sendbyte(bus, 0x80,0);
i2c_sendbyte(bus, 0x00,0);
i2c_stop(bus);
- udelay(2000);
+ mdelay(2);
i2c_start(bus);
if (0 != i2c_sendbyte(bus, I2C_MSP3400C,2000) ||
0 != i2c_sendbyte(bus, 0x00,0) ||
@@ -106,7 +106,7 @@
printk(KERN_ERR "msp3400: chip reset failed, penguin on i2c bus?\n");
}
i2c_stop(bus);
- udelay(2000);
+ mdelay(2);
return ret;
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov