projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
13f0fd9
)
NAND: chip->state does not always get set.
author
Marcel Ziswiler
<marcel@ziswiler.com>
Sun, 22 Jun 2008 14:30:06 +0000
(16:30 +0200)
committer
Scott Wood
<scottwood@freescale.com>
Tue, 12 Aug 2008 16:31:29 +0000
(11:31 -0500)
Fixes an issue with chip->state not always being set causing troubles.
Signed-off-by: Marcel Ziswiler <marcel@ziswiler.com>
Signed-off-by: Scott Wood <scottwood@freescale.com>
drivers/mtd/nand/nand_base.c
patch
|
blob
|
history
diff --git
a/drivers/mtd/nand/nand_base.c
b/drivers/mtd/nand/nand_base.c
index cf2f3745542b7ceae4626fe2b41e7524c3d0f77e..a29ff1146f2cc26cfb23be0876bf4affbdcb0802 100644
(file)
--- a/
drivers/mtd/nand/nand_base.c
+++ b/
drivers/mtd/nand/nand_base.c
@@
-773,6
+773,7
@@
nand_get_device(struct nand_chip *chip, struct mtd_info *mtd, int new_state)
#else
static int nand_get_device (struct nand_chip *this, struct mtd_info *mtd, int new_state)
{
+ this->state = new_state;
return 0;
}
#endif