提交 ffb4b025 编写于 作者: M Minkyu Kang 提交者: Tom

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: NMinkyu Kang <mk7.kang@samsung.com>
上级 92682365
......@@ -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);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册