aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-cmp.c
diff options
context:
space:
mode:
authorPhilipp Zabel <[email protected]>2014-01-07 12:34:11 +0100
committerLinus Walleij <[email protected]>2014-02-07 09:47:02 +0100
commitef70bbe1aaa612f75360e5df5952fddec50b7ca9 (patch)
tree2f80756c83780e9ed9c67401af16022a749543c0 /lib/mpi/mpi-cmp.c
parent25b35da7f4cce82271859f1b6eabd9f3bd41a2bb (diff)
gpio: make gpiod_direction_output take a logical value
The documentation was not clear about whether gpio_direction_output should take a logical value or the physical level on the output line, i.e. whether the ACTIVE_LOW status would be taken into account. This converts gpiod_direction_output to use the logical level and adds a new gpiod_direction_output_raw for the raw value. Signed-off-by: Philipp Zabel <[email protected]> Reviewed-by: Alexandre Courbot <[email protected]> Signed-off-by: Linus Walleij <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-cmp.c')
0 files changed, 0 insertions, 0 deletions