mtd/drivers/mtd/chips cfi_cmdset_0001.c,1.146,1.147
Nicolas Pitre
nico at infradead.org
Fri Jun 11 12:33:59 EDT 2004
Update of /home/cvs/mtd/drivers/mtd/chips
In directory phoenix.infradead.org:/tmp/cvs-serv3661/drivers/mtd/chips
Modified Files:
cfi_cmdset_0001.c
Log Message:
The FL_STATUS case in get_chip() should not return with chip->mutex released.
The caller is expected to release that lock in all cases.
Index: cfi_cmdset_0001.c
===================================================================
RCS file: /home/cvs/mtd/drivers/mtd/chips/cfi_cmdset_0001.c,v
retrieving revision 1.146
retrieving revision 1.147
diff -u -r1.146 -r1.147
--- cfi_cmdset_0001.c 11 Jun 2004 16:30:36 -0000 1.146
+++ cfi_cmdset_0001.c 11 Jun 2004 16:33:56 -0000 1.147
@@ -488,7 +488,6 @@
if (time_after(jiffies, timeo)) {
printk(KERN_ERR "Waiting for chip to be ready timed out. Status %llx\n",
(long long)status);
- spin_unlock(chip->mutex);
return -EIO;
}
spin_unlock(chip->mutex);
More information about the linux-mtd-cvs
mailing list