gpio: vx855: use the new open drain callback
authorLinus Walleij <linus.walleij@linaro.org>
Sun, 10 Apr 2016 10:26:08 +0000 (12:26 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Thu, 14 Apr 2016 12:03:28 +0000 (14:03 +0200)
commit640b9135c888f02afd058c213303ffbd10d3908d
tree3bf412af8a05ef1b98e74f3a83e66ae4852780b0
parent811a1882b12bbbcbd447ad8c4d16d170e196c58f
gpio: vx855: use the new open drain callback

The vx855 driver clearly states it has three groups of lines:
GPI, GPO and GPIO. The GPO are assumedly push-pull. The GPIO
are implicit open drain, but if the GPIO subsystem ask for them
to be explicitly open drain (i.e. set the flag on a machine table
that we want open drain) it will currently misbehave: it will
switch the GPIOs to input mode (emulate open drain). Instead:
indicate in the .set_single_ended() callback that we support
open drain and open drain only.

Cc: Daniel Drake <drake@endlessm.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-vx855.c
This page took 0.026633 seconds and 5 git commands to generate.