mxc/gpio: make _set_value work with values != 0/1
authorPeter Korsgaard <jacmet@sunsite.dk>
Mon, 11 Oct 2010 13:02:06 +0000 (15:02 +0200)
committerSascha Hauer <s.hauer@pengutronix.de>
Mon, 11 Oct 2010 13:31:40 +0000 (15:31 +0200)
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 <jacmet@sunsite.dk>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>

No differences found