Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 115996
b: refs/heads/master
c: 782b7a3
h: refs/heads/master
v: v3
  • Loading branch information
Adrian Hunter authored and David Woodhouse committed Aug 15, 2008
1 parent 3a5f7ab commit 91da723
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 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: bde86fec7c822b6009d3cfefc20b76b8d34716af
refs/heads/master: 782b7a367d81da005d93b28cb00f9ae086773c24
9 changes: 7 additions & 2 deletions trunk/drivers/mtd/onenand/omap2.c
Original file line number Diff line number Diff line change
Expand Up @@ -141,8 +141,13 @@ static int omap2_onenand_wait(struct mtd_info *mtd, int state)

/* Turn interrupts on */
syscfg = read_reg(c, ONENAND_REG_SYS_CFG1);
syscfg |= ONENAND_SYS_CFG1_IOBE;
write_reg(c, syscfg, ONENAND_REG_SYS_CFG1);
if (!(syscfg & ONENAND_SYS_CFG1_IOBE)) {
syscfg |= ONENAND_SYS_CFG1_IOBE;
write_reg(c, syscfg, ONENAND_REG_SYS_CFG1);
if (cpu_is_omap34xx())
/* Add a delay to let GPIO settle */
syscfg = read_reg(c, ONENAND_REG_SYS_CFG1);
}

INIT_COMPLETION(c->irq_done);
if (c->gpio_irq) {
Expand Down

0 comments on commit 91da723

Please sign in to comment.