patch-2.4.0-test4 linux/drivers/mtd/cfi_cmdset_0001.c
Next file: linux/drivers/mtd/cfi_cmdset_0002.c
Previous file: linux/drivers/mtd/Makefile
Back to the patch index
Back to the overall index
- Lines: 24
- Date:
Thu Jul 13 10:19:55 2000
- Orig file:
v2.4.0-test3/linux/drivers/mtd/cfi_cmdset_0001.c
- Orig date:
Mon Jul 10 16:47:23 2000
diff -u --recursive --new-file v2.4.0-test3/linux/drivers/mtd/cfi_cmdset_0001.c linux/drivers/mtd/cfi_cmdset_0001.c
@@ -4,7 +4,7 @@
*
* (C) 2000 Red Hat. GPL'd
*
- * $Id: cfi_cmdset_0001.c,v 1.20 2000/07/04 07:36:43 dwmw2 Exp $
+ * $Id: cfi_cmdset_0001.c,v 1.21 2000/07/13 10:36:14 dwmw2 Exp $
*/
#include <linux/module.h>
@@ -455,13 +455,9 @@
chip->word_write_time--;
if (!chip->word_write_time)
chip->word_write_time++;
- else
- printk("decreasing word_write_time to %d µs\n", chip->word_write_time);
}
- if (z > 100) {
+ if (z > 1)
chip->word_write_time++;
- printk("increasing word_write_time to %d µs\n", chip->word_write_time);
- }
/* Done and happy. */
chip->state = FL_STATUS;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)