瀏覽代碼

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>
Axel Lin 9 年之前
父節點
當前提交
818cc6a5f8
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      drivers/gpio/gpio-tps65218.c

+ 1 - 0
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;
 }