mtd/drivers/mtd/chips cfi_cmdset_0001.c,1.169,1.170

Nicolas Pitre nico at infradead.org
Wed Mar 16 17:41:09 EST 2005


Update of /home/cvs/mtd/drivers/mtd/chips
In directory phoenix.infradead.org:/tmp/cvs-serv21360/drivers/mtd/chips

Modified Files:
	cfi_cmdset_0001.c 
Log Message:
oldstate has to be reset to FL_READY after sync completion.


Index: cfi_cmdset_0001.c
===================================================================
RCS file: /home/cvs/mtd/drivers/mtd/chips/cfi_cmdset_0001.c,v
retrieving revision 1.169
retrieving revision 1.170
diff -u -r1.169 -r1.170
--- cfi_cmdset_0001.c	15 Mar 2005 19:07:18 -0000	1.169
+++ cfi_cmdset_0001.c	16 Mar 2005 22:41:05 -0000	1.170
@@ -1789,6 +1789,7 @@
 		
 		if (chip->state == FL_SYNCING) {
 			chip->state = chip->oldstate;
+			chip->oldstate = FL_READY;
 			wake_up(&chip->wq);
 		}
 		spin_unlock(chip->mutex);





More information about the linux-mtd-cvs mailing list