Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 212645
b: refs/heads/master
c: 3d4af5c
h: refs/heads/master
i:
  212643: 7fdf9be
v: v3
  • Loading branch information
Atul Dahiya authored and Kukjin Kim committed Oct 18, 2010
1 parent 277b480 commit 2d6aea7
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 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: d7297612ae53dfaf88b702f89a153d3da52bcd31
refs/heads/master: 3d4af5cac77f8d4f7422b1d00cb9e67000f94301
5 changes: 0 additions & 5 deletions trunk/arch/arm/mach-s5p64x0/gpio.c
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,6 @@ int s5p64x0_gpio_setcfg_4bit_rbank(struct s3c_gpio_chip *chip,
{
void __iomem *reg = chip->base;
unsigned int shift;
unsigned long flags;
u32 con;

switch (off) {
Expand All @@ -158,15 +157,11 @@ int s5p64x0_gpio_setcfg_4bit_rbank(struct s3c_gpio_chip *chip,
cfg <<= shift;
}

s3c_gpio_lock(chip, flags);

con = __raw_readl(reg);
con &= ~(0xf << shift);
con |= cfg;
__raw_writel(con, reg);

s3c_gpio_unlock(chip, flags);

return 0;
}

Expand Down

0 comments on commit 2d6aea7

Please sign in to comment.