From: Minkyu Kang Date: Fri, 28 May 2010 03:34:29 +0000 (+0900) Subject: s5pc1xx: gpio: bug fix at gpio_set_pull function X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=ffb4b02554d9972d66502efbe97b3933620c8a31;p=u-boot.git 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 --- 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);