mtd/drivers/mtd/chips cfi_cmdset_0001.c,1.132,1.133

David Woodhouse dwmw2 at infradead.org
Mon Mar 22 02:39:01 EST 2004


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

Modified Files:
	cfi_cmdset_0001.c 
Log Message:
Resume all chips in resume. Don't just resume the first one lots of times.


Index: cfi_cmdset_0001.c
===================================================================
RCS file: /home/cvs/mtd/drivers/mtd/chips/cfi_cmdset_0001.c,v
retrieving revision 1.132
retrieving revision 1.133
diff -u -r1.132 -r1.133
--- cfi_cmdset_0001.c	4 Nov 2003 19:34:22 -0000	1.132
+++ cfi_cmdset_0001.c	22 Mar 2004 07:38:58 -0000	1.133
@@ -1676,7 +1676,7 @@
 		
 		/* Go to known state. Chip may have been power cycled */
 		if (chip->state == FL_PM_SUSPENDED) {
-			cfi_write(map, CMD(0xFF), 0);
+			cfi_write(map, CMD(0xFF), cfi->chips[i].start);
 			chip->state = FL_READY;
 			wake_up(&chip->wq);
 		}




More information about the linux-mtd-cvs mailing list