mtd/drivers/mtd/chips cfi_cmdset_0001.c,1.158,1.159

Nicolas Pitre nico at infradead.org
Tue Oct 26 12:47:53 EDT 2004


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

Modified Files:
	cfi_cmdset_0001.c 
Log Message:
another put_chip()


Index: cfi_cmdset_0001.c
===================================================================
RCS file: /home/cvs/mtd/drivers/mtd/chips/cfi_cmdset_0001.c,v
retrieving revision 1.158
retrieving revision 1.159
diff -u -r1.158 -r1.159
--- cfi_cmdset_0001.c	22 Oct 2004 18:42:13 -0000	1.158
+++ cfi_cmdset_0001.c	26 Oct 2004 16:47:49 -0000	1.159
@@ -1612,7 +1612,7 @@
 			chip->state = FL_STATUS;
 			printk(KERN_ERR "waiting for unlock to complete timed out. Xstatus = %lx, status = %lx.\n",
 			       status.x[0], map_read(map, adr).x[0]);
-			DISABLE_VPP(map);
+			put_chip(map, chip, adr);
 			spin_unlock(chip->mutex);
 			return -EIO;
 		}





More information about the linux-mtd-cvs mailing list