mtd/drivers/mtd/chips cfi_cmdset_0020.c,1.9,1.10

David Woodhouse dwmw2 at infradead.org
Thu Oct 16 07:00:54 EDT 2003


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

Modified Files:
	cfi_cmdset_0020.c 
Log Message:
Fix erase-suspend feature check.


Index: cfi_cmdset_0020.c
===================================================================
RCS file: /home/cvs/mtd/drivers/mtd/chips/cfi_cmdset_0020.c,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- cfi_cmdset_0020.c	6 Oct 2003 14:45:32 -0000	1.9
+++ cfi_cmdset_0020.c	16 Oct 2003 11:00:51 -0000	1.10
@@ -262,7 +262,7 @@
 	 */
 	switch (chip->state) {
 	case FL_ERASING:
-		if (!((struct cfi_pri_intelext *)cfi->cmdset_priv)->FeatureSupport & 2)
+		if (!(((struct cfi_pri_intelext *)cfi->cmdset_priv)->FeatureSupport & 2))
 			goto sleep; /* We don't support erase suspend */
 		
 		cfi_write (map, CMD(0xb0), cmd_addr);




More information about the linux-mtd-cvs mailing list