projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ce02d18
)
gpio: tps65218: Make tps65218_gpio_output set proper output level
author
Axel Lin
<axel.lin@ingics.com>
Mon, 15 Feb 2016 12:10:40 +0000
(20:10 +0800)
committer
Linus Walleij
<linus.walleij@linaro.org>
Tue, 16 Feb 2016 14:58:32 +0000
(15:58 +0100)
The .direction_output callback should set proper output level.
Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-tps65218.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/gpio/gpio-tps65218.c
b/drivers/gpio/gpio-tps65218.c
index 9eb1a5ab2d95372a3da7c62b926f4dd83c18f9f2..2fc7e16aee0c4be0bf8f5bc4b37c5447bd3828ad 100644
(file)
--- a/
drivers/gpio/gpio-tps65218.c
+++ b/
drivers/gpio/gpio-tps65218.c
@@
-59,6
+59,7
@@
static int tps65218_gpio_output(struct gpio_chip *gc, unsigned offset,
int value)
{
/* Only drives GPOs */
+ tps65218_gpio_set(gc, offset, value);
return 0;
}