Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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: default avatarLinus Walleij <linus.walleij@linaro.org>
parent ce02d18f
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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;
}