From: Philipp Zabel Date: Tue, 7 Jan 2014 11:34:11 +0000 (+0100) Subject: gpio: make gpiod_direction_output take a logical value X-Git-Tag: v3.15-rc1~105^2~67 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ef70bbe1aaa612f75360e5df5952fddec50b7ca9;p=pandora-kernel.git 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 Reviewed-by: Alexandre Courbot Signed-off-by: Linus Walleij --- Reading git-diff-tree failed