Commit 818cc6a5 authored by Axel Lin's avatar Axel Lin Committed by Linus Walleij

gpio: tps65218: Make tps65218_gpio_output set proper output level

The .direction_output callback should set proper output level.
Signed-off-by: default avatarAxel Lin <axel.lin@ingics.com>
Signed-off-by: Linus Walleij's avatarLinus Walleij <linus.walleij@linaro.org>
parent ce02d18f
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment