summaryrefslogtreecommitdiffstats
path: root/drivers/gpio/gpio-tps65218.c
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@ingics.com>2016-02-15 13:10:40 +0100
committerLinus Walleij <linus.walleij@linaro.org>2016-02-16 15:58:32 +0100
commit818cc6a5f8c6030d05f7dcb21970bf5f7db5dcbd (patch)
tree6748894a33af980058827ffdb032fb6938ddb27f /drivers/gpio/gpio-tps65218.c
parentgpio: tpic2810: Make tpic2810_direction_output set proper output level (diff)
downloadlinux-818cc6a5f8c6030d05f7dcb21970bf5f7db5dcbd.tar.xz
linux-818cc6a5f8c6030d05f7dcb21970bf5f7db5dcbd.zip
gpio: tps65218: Make tps65218_gpio_output set proper output level
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>
Diffstat (limited to 'drivers/gpio/gpio-tps65218.c')
-rw-r--r--drivers/gpio/gpio-tps65218.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpio/gpio-tps65218.c b/drivers/gpio/gpio-tps65218.c
index 9eb1a5ab2d95..2fc7e16aee0c 100644
--- 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;
}