patch-2.4.19 linux-2.4.19/drivers/mtd/chips/jedec.c

Next file: linux-2.4.19/drivers/mtd/chips/sharp.c
Previous file: linux-2.4.19/drivers/mtd/chips/amd_flash.c
Back to the patch index
Back to the overall index

diff -urN linux-2.4.18/drivers/mtd/chips/jedec.c linux-2.4.19/drivers/mtd/chips/jedec.c
@@ -11,7 +11,7 @@
  * not going to guess how to send commands to them, plus I expect they will
  * all speak CFI..
  *
- * $Id: jedec.c,v 1.12 2001/11/06 14:37:35 dwmw2 Exp $
+ * $Id: jedec.c,v 1.13 2002/02/08 15:57:21 rkaiser Exp $
  */
 
 #include <linux/mtd/jedec.h>
@@ -738,6 +738,7 @@
    }
        	    
    //printk("done\n");
+   instr->state = MTD_ERASE_DONE;
    if (instr->callback)
 	instr->callback(instr);
    return 0;

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