mtd/drivers/mtd/nand nand_base.c,1.127,1.128
gleixner at infradead.org
gleixner at infradead.org
Tue Jan 18 11:15:00 EST 2005
Update of /home/cvs/mtd/drivers/mtd/nand
In directory phoenix.infradead.org:/tmp/cvs-serv3282
Modified Files:
nand_base.c
Log Message:
Replace yield by msleep. M.Wilcox stared at it and frowned
Index: nand_base.c
===================================================================
RCS file: /home/cvs/mtd/drivers/mtd/nand/nand_base.c,v
retrieving revision 1.127
retrieving revision 1.128
diff -u -r1.127 -r1.128
--- nand_base.c 17 Jan 2005 18:35:22 -0000 1.127
+++ nand_base.c 18 Jan 2005 16:14:56 -0000 1.128
@@ -810,7 +810,7 @@
if (this->read_byte(mtd) & NAND_STATUS_READY)
break;
}
- yield ();
+ msleep(1);
}
status = (int) this->read_byte(mtd);
return status;
More information about the linux-mtd-cvs
mailing list