From ffb4b02554d9972d66502efbe97b3933620c8a31 Mon Sep 17 00:00:00 2001 From: Minkyu Kang Date: Fri, 28 May 2010 12:34:29 +0900 Subject: [PATCH] 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 --- drivers/gpio/s5p_gpio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpio/s5p_gpio.c b/drivers/gpio/s5p_gpio.c index 0439477e46..a1bcddcf45 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); -- 2.30.2