Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 212558
b: refs/heads/master
c: 886ab3d
h: refs/heads/master
v: v3
  • Loading branch information
Peter Korsgaard authored and Sascha Hauer committed Oct 11, 2010
1 parent 9cca851 commit 3a62cf4
Show file tree
Hide file tree
Showing 2 changed files with 2 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: 9524705c867dc8d5b558f4793b7464eab967a530
refs/heads/master: 886ab3dae2ba26bde5bab096c931365db9f49830
2 changes: 1 addition & 1 deletion trunk/arch/arm/plat-mxc/gpio.c
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ static void mxc_gpio_set(struct gpio_chip *chip, unsigned offset, int value)
unsigned long flags;

spin_lock_irqsave(&port->lock, flags);
l = (__raw_readl(reg) & (~(1 << offset))) | (value << offset);
l = (__raw_readl(reg) & (~(1 << offset))) | (!!value << offset);
__raw_writel(l, reg);
spin_unlock_irqrestore(&port->lock, flags);
}
Expand Down

0 comments on commit 3a62cf4

Please sign in to comment.