mirror of
https://git.codelinaro.org/clo/qsdk/oss/boot/u-boot-2016.git
synced 2026-03-14 21:10:27 +01:00
NAND: chip->state does not always get set.
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>
This commit is contained in:
parent
13f0fd94e3
commit
eafcabd15f
1 changed files with 1 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue