提交 327819d1 编写于 作者: L Linus Walleij

gpio: f7188x: fix edit mistake

Fix a typo causing a build regression.

Fixes: f90c6bdb ("gpio: f7188x: use the new open drain callback")
Reported-by: NStephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: NLinus Walleij <linus.walleij@linaro.org>
上级 c686090f
...@@ -328,7 +328,7 @@ static int f7188x_gpio_set_single_ended(struct gpio_chip *chip, ...@@ -328,7 +328,7 @@ static int f7188x_gpio_set_single_ended(struct gpio_chip *chip,
data &= ~BIT(offset); data &= ~BIT(offset);
else else
data |= BIT(offset); data |= BIT(offset);
superio_outb(sio->addr, gpio_data_mode(bank->regbase), data); superio_outb(sio->addr, gpio_out_mode(bank->regbase), data);
superio_exit(sio->addr); superio_exit(sio->addr);
return 0; return 0;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册