Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 332661
b: refs/heads/master
c: 4dc48c3
h: refs/heads/master
i:
  332659: 945d6e2
v: v3
  • Loading branch information
Shiraz Hashim authored and David Woodhouse committed Jul 6, 2012
1 parent 74642c0 commit a4e0f04
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 770daa43379690667e6552d68d343111b357341d
refs/heads/master: 4dc48c37d1ce968b5ade7d1646927199ee536129
3 changes: 3 additions & 0 deletions trunk/drivers/mtd/devices/spear_smi.c
Original file line number Diff line number Diff line change
Expand Up @@ -336,6 +336,9 @@ static void spear_smi_hw_init(struct spear_smi *dev)
val = HOLD1 | BANK_EN | DSEL_TIME | (prescale << 8);

mutex_lock(&dev->lock);
/* clear all interrupt conditions */
writel(0, dev->io_base + SMI_SR);

writel(val, dev->io_base + SMI_CR1);
mutex_unlock(&dev->lock);
}
Expand Down

0 comments on commit a4e0f04

Please sign in to comment.