commit | 623cb4ebd04c3d3304b822a83a67dbd322719aca | [log] [tgz] |
---|---|---|
author | Jürg Billeter <j@bitron.ch> | Tue Jun 24 04:19:50 2014 +0200 |
committer | Simon Horman <horms+renesas@verge.net.au> | Wed Sep 03 13:25:50 2014 +0900 |
tree | 30b44ed786ff2c8584ef22177d231ad28c9073f6 | |
parent | af3eef32908dc4e908d8866b24b13192e958241f [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> (cherry picked from commit 7cb5409b10d9f8316ca2539591acb6a5f7fd4139) Signed-off-by: Simon Horman <horms+renesas@verge.net.au>