projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9268236
)
s5pc1xx: gpio: bug fix at gpio_set_pull function
author
Minkyu Kang
<mk7.kang@samsung.com>
Fri, 28 May 2010 03:34:29 +0000
(12:34 +0900)
committer
Tom
<Tom@bumblecow.com>
Mon, 14 Jun 2010 23:15:20 +0000
(18:15 -0500)
When set to PULL_NONE, gpio_set_pull function is returned without write the register.
This patch fixed it.
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
drivers/gpio/s5p_gpio.c
patch
|
blob
|
history
diff --git
a/drivers/gpio/s5p_gpio.c
b/drivers/gpio/s5p_gpio.c
index 0439477e462175e3254b844e67d62bb116ae47b4..a1bcddcf45583b9d97ef10973783e3d498016f6b 100644
(file)
--- a/
drivers/gpio/s5p_gpio.c
+++ b/
drivers/gpio/s5p_gpio.c
@@
-96,7
+96,7
@@
void gpio_set_pull(struct s5p_gpio_bank *bank, int gpio, int mode)
value |= PULL_MODE(gpio, mode);
break;
default:
-
return
;
+
break
;
}
writel(value, &bank->pull);