Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 310186
b: refs/heads/master
c: a9c465f
h: refs/heads/master
v: v3
  • Loading branch information
Ivan Djelic authored and David Woodhouse committed May 14, 2012
1 parent ee259ba commit f914941
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: e25da1c07dfb318628a8a86f0967914dc4fd135e
refs/heads/master: a9c465f07c2dcd515d20b96f93470762f9ae08b6
4 changes: 3 additions & 1 deletion trunk/drivers/mtd/nand/omap2.c
Original file line number Diff line number Diff line change
Expand Up @@ -881,7 +881,7 @@ static int omap_wait(struct mtd_info *mtd, struct nand_chip *chip)
struct omap_nand_info *info = container_of(mtd, struct omap_nand_info,
mtd);
unsigned long timeo = jiffies;
int status = NAND_STATUS_FAIL, state = this->state;
int status, state = this->state;

if (state == FL_ERASING)
timeo += (HZ * 400) / 1000;
Expand All @@ -896,6 +896,8 @@ static int omap_wait(struct mtd_info *mtd, struct nand_chip *chip)
break;
cond_resched();
}

status = gpmc_nand_read(info->gpmc_cs, GPMC_NAND_DATA);
return status;
}

Expand Down

0 comments on commit f914941

Please sign in to comment.