commit | 8dd156eda8839e7518e01203bb8d8c15226ed2f4 | [log] [tgz] |
---|---|---|
author | Holger Brunck <holger.brunck@keymile.com> | Sun Aug 21 23:21:06 2011 +0000 |
committer | Wolfgang Denk <wd@denx.de> | Mon Oct 17 22:25:33 2011 +0200 |
tree | cd51f3aaf39363c811998a8a4f894b75c5b33c75 | |
parent | af4ccce6ae913c4a88efee3b8b01333a66ae736a [diff] |
kw_gpio: fix error in kw_gpio_direction_input The function kw_gpio_is_valid returns zero on success, so adapt the error check accordingly. Signed-off-by: Holger Brunck <holger.brunck@keymile.com> cc: Prafulla Wadaskar <prafulla@marvell.com> cc: Dieter Kiermaier <dk-arm-linux@gmx.de>