Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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 <[email protected]> Signed-off-by: Sascha Hauer <[email protected]>
- Loading branch information