mirror of
https://git.codelinaro.org/clo/qsdk/oss/boot/u-boot-2016.git
synced 2026-02-19 02:31:24 +01:00
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>
This commit is contained in:
parent
9268236529
commit
ffb4b02554
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue