From: Peter Korsgaard Date: Mon, 11 Oct 2010 13:02:06 +0000 (+0200) Subject: mxc/gpio: make _set_value work with values != 0/1 X-Git-Tag: v2.6.37-rc1~184^2~5^2~5^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=886ab3dae2ba26bde5bab096c931365db9f49830;p=pandora-kernel.git mxc/gpio: make _set_value work with values != 0/1 Documentation/gpio.txt specifies that the value argument to gpio_set_value() should be handled as a boolean (E.G. != 0 is high), so use the same logic as in _set_direction(). Signed-off-by: Peter Korsgaard Signed-off-by: Sascha Hauer --- Reading git-diff-tree failed