mtd/drivers/mtd/onenand onenand_base.c,1.19,1.20

kyungmin.park at samsung.com kyungmin.park at samsung.com
Thu Mar 2 05:13:35 EST 2006


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

Modified Files:
	onenand_base.c 
Log Message:
[MTD] OneNAND: fix block command typo

We need to check block cmd only instead with comparing with cmd


Index: onenand_base.c
===================================================================
RCS file: /home/cvs/mtd/drivers/mtd/onenand/onenand_base.c,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -r1.19 -r1.20
--- onenand_base.c	22 Feb 2006 00:26:37 -0000	1.19
+++ onenand_base.c	2 Mar 2006 10:13:31 -0000	1.20
@@ -239,7 +239,7 @@
 		value = onenand_block_address(this, block);
 		this->write_word(value, this->base + ONENAND_REG_START_ADDRESS1);
 
-		if (cmd == block_cmd) {
+		if (block_cmd) {
 			/* Select DataRAM for DDP */
 			value = onenand_bufferram_address(this, block);
 			this->write_word(value, this->base + ONENAND_REG_START_ADDRESS2);





More information about the linux-mtd-cvs mailing list