mtd/drivers/mtd/chips map_ram.c,1.17,1.18
gleixner at infradead.org
gleixner at infradead.org
Thu Jun 17 10:13:56 EDT 2004
Update of /home/cvs/mtd/drivers/mtd/chips
In directory phoenix.infradead.org:/tmp/cvs-serv9791
Modified Files:
map_ram.c
Log Message:
Set instr->state before callback and return. Pointed out by Oliver Kuehlert <oliver.kuehlert at sysgo dot com>
Index: map_ram.c
===================================================================
RCS file: /home/cvs/mtd/drivers/mtd/chips/map_ram.c,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -r1.17 -r1.18
--- map_ram.c 28 May 2003 12:51:49 -0000 1.17
+++ map_ram.c 17 Jun 2004 14:13:54 -0000 1.18
@@ -109,6 +109,8 @@
for (i=0; i<instr->len; i++)
map_write8(map, 0xFF, instr->addr + i);
+ instr->state = MTD_ERASE_DONE;
+
if (instr->callback)
instr->callback(instr);
More information about the linux-mtd-cvs
mailing list