diff options
author | Linus Walleij <linus.walleij@linaro.org> | 2016-04-10 12:26:08 +0200 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2016-04-14 14:03:28 +0200 |
commit | 640b9135c888f02afd058c213303ffbd10d3908d (patch) | |
tree | 3bf412af8a05ef1b98e74f3a83e66ae4852780b0 /drivers/gpio/gpiolib-legacy.c | |
parent | 811a1882b12bbbcbd447ad8c4d16d170e196c58f (diff) | |
download | talos-obmc-linux-640b9135c888f02afd058c213303ffbd10d3908d.tar.gz talos-obmc-linux-640b9135c888f02afd058c213303ffbd10d3908d.zip |
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>
Diffstat (limited to 'drivers/gpio/gpiolib-legacy.c')
0 files changed, 0 insertions, 0 deletions