commit | 7cb5409b10d9f8316ca2539591acb6a5f7fd4139 | [log] [tgz] |
---|---|---|
author | Jürg Billeter <j@bitron.ch> | Tue Jun 24 04:19:50 2014 +0200 |
committer | Linus Walleij <linus.walleij@linaro.org> | Wed Jul 09 12:22:44 2014 +0200 |
tree | c36d6195b4d9eac0d4b64f3adbd97d5a6d33520f | |
parent | b41acf8869eac0737327380d23068b2e3f10a12a [diff] |
gpio: rcar: clamp returned value to [0,1] While it will be clamped to bool by gpiolib, let's make this sane in the driver as well. Signed-off-by: Jürg Billeter <j@bitron.ch> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>