Skip to content
Snippets Groups Projects
Commit ffb4b025 authored by Minkyu Kang's avatar Minkyu Kang Committed by Tom
Browse files

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: default avatarMinkyu Kang <mk7.kang@samsung.com>
parent 92682365
No related branches found
No related tags found
No related merge requests found
......@@ -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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment