patch-2.4.21 linux-2.4.21/drivers/mtd/chips/sharp.c

Next file: linux-2.4.21/drivers/mtd/cmdlinepart.c
Previous file: linux-2.4.21/drivers/mtd/chips/jedec_probe.c
Back to the patch index
Back to the overall index

diff -urN linux-2.4.20/drivers/mtd/chips/sharp.c linux-2.4.21/drivers/mtd/chips/sharp.c
@@ -4,7 +4,7 @@
  * Copyright 2000,2001 David A. Schleef <ds@schleef.org>
  *           2000,2001 Lineo, Inc.
  *
- * $Id: sharp.c,v 1.7 2002/02/13 15:49:07 dwmw2 Exp $
+ * $Id: sharp.c,v 1.8 2002/05/17 08:59:19 dwmw2 Exp $
  *
  * Devices supported:
  *   LH28F016SCT Symmetrical block flash memory, 2Mx8
@@ -421,6 +421,7 @@
 		}
 	}
 
+	instr->state = MTD_ERASE_DONE;
 	if(instr->callback)
 		instr->callback(instr);
 

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)