diff options
author | Holger Brunck <holger.brunck@keymile.com> | 2011-08-21 23:21:06 +0000 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2011-10-17 22:25:33 +0200 |
commit | e5afdf584c1e217b19579ba88e415ff8eb657fd8 (patch) | |
tree | cd51f3aaf39363c811998a8a4f894b75c5b33c75 /include/keyboard.h | |
parent | 0d2b0a8f451a31e8d84e3d4866e78951ad6535f2 (diff) | |
download | u-boot-imx-e5afdf584c1e217b19579ba88e415ff8eb657fd8.zip u-boot-imx-e5afdf584c1e217b19579ba88e415ff8eb657fd8.tar.gz u-boot-imx-e5afdf584c1e217b19579ba88e415ff8eb657fd8.tar.bz2 |
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>
Diffstat (limited to 'include/keyboard.h')
0 files changed, 0 insertions, 0 deletions