diff options
author | Minkyu Kang <mk7.kang@samsung.com> | 2010-05-28 12:34:29 +0900 |
---|---|---|
committer | Tom <Tom@bumblecow.com> | 2010-06-14 18:15:20 -0500 |
commit | ffb4b02554d9972d66502efbe97b3933620c8a31 (patch) | |
tree | 237e155fa63e1b675cfb4bc115c71212a74aa020 | |
parent | 9268236529161312c877e638a14c011fd3c883e1 (diff) |
s5pc1xx: gpio: bug fix at gpio_set_pull function
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>
-rw-r--r-- | drivers/gpio/s5p_gpio.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpio/s5p_gpio.c b/drivers/gpio/s5p_gpio.c index 0439477e462..a1bcddcf455 100644 --- 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); |