aboutsummaryrefslogtreecommitdiffstats
path: root/lib/debugobjects.c
diff options
context:
space:
mode:
authorLinus Walleij <[email protected]>2016-11-14 14:10:29 +0000
committerLinus Walleij <[email protected]>2016-11-15 09:33:30 +0000
commit220a04f0e53276eb3da666174bcf97489fd8644e (patch)
treee15a4ae34b8d4060c4fd5fbb6d44b9fa37e6a2d3 /lib/debugobjects.c
parentgpio: do not double-check direction on sleeping chips (diff)
downloadkernel-220a04f0e53276eb3da666174bcf97489fd8644e.tar.gz
kernel-220a04f0e53276eb3da666174bcf97489fd8644e.zip
gpio: tc3589x: fix up .get_direction()
The bit in the TC3589x direction register is 0 for input and 1 for output, but the gpiolib expects the reverse. Fix up the logic. Cc: [email protected] Fixes: 14063d71e5e6 ("gpio: tc3589x: add .get_direction() and small cleanup") Signed-off-by: Linus Walleij <[email protected]>
Diffstat (limited to 'lib/debugobjects.c')
0 files changed, 0 insertions, 0 deletions