commit | 92a486eabefadca1169fbf15d737feeaf2bda844 | [log] [tgz] |
---|---|---|
author | Arnaud Patard (Rtp) <arnaud.patard@rtp-net.org> | Wed Apr 18 23:16:39 2012 +0200 |
committer | Jason Cooper <jason@lakedaemon.net> | Tue May 15 03:11:47 2012 +0000 |
tree | c54589a861f2fc468242f7e0d82bc090efabfd0b | |
parent | ee24876949c49761e61befe7435293069ddb1f38 [diff] |
kirkwood/orion: fix orion_gpio_set_blink gpio registers are for 32 gpios. Given that orion_gpio_set_blink is called directly and not through gpiolib, it needs to make sure that the pin value given to the internal functions are between 0 and 31. Signed-off-by: Arnaud Patard <arnaud.patard@rtp-net.org> Tested-By: Adam Baker <linux@baker-net.org.uk> Signed-off-by: Jason Cooper <jason@lakedaemon.net>