diff options
author | Marc Zyngier <maz@misterjones.org> | 2010-05-26 23:42:21 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2010-05-27 18:12:41 +0200 |
commit | a13c1868aa60ae7a2516b8d00ee8873dea587581 (patch) | |
tree | a90f714d48a3e076ef9093d5eb584e5655fbd5bd /drivers/gpio/max730x.c | |
parent | max732x: correct nr_port checking off by one error (diff) | |
download | linux-a13c1868aa60ae7a2516b8d00ee8873dea587581.tar.xz linux-a13c1868aa60ae7a2516b8d00ee8873dea587581.zip |
gpio: max732x: fix input configuration for open-drain pins
Fix a bug I noticed while hacking on the max732x driver for interrupt
support. According to the datasheets, open-drain pins have to be
configured as output-high (which in that case is actually high impedance)
to be used as input.
Signed-off-by: Marc Zyngier <maz@misterjones.org>
Acked-by: Eric Miao <eric.y.miao@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/gpio/max730x.c')
0 files changed, 0 insertions, 0 deletions