diff options
author | Peter Korsgaard <jacmet@sunsite.dk> | 2010-10-11 15:02:06 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2010-10-11 15:31:40 +0200 |
commit | 886ab3dae2ba26bde5bab096c931365db9f49830 (patch) | |
tree | a08f4613875c99ca6ac31683c16eb2c875b98d92 /kernel/rcutree_trace.c | |
parent | 9524705c867dc8d5b558f4793b7464eab967a530 (diff) |
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 <jacmet@sunsite.dk>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'kernel/rcutree_trace.c')
0 files changed, 0 insertions, 0 deletions