]> git.sur5r.net Git - u-boot/commit
gpio: check request result
authorMike Frysinger <vapier@gentoo.org>
Tue, 12 Apr 2011 07:02:11 +0000 (03:02 -0400)
committerMike Frysinger <vapier@gentoo.org>
Wed, 13 Apr 2011 19:57:00 +0000 (15:57 -0400)
commit6801201ee72795dddb1e23aa6091c95866b19e0b
tree8ca09890bc6c664dece54d6eeea6d9c2806a6bc8
parentf93c25966f7f5a9696b1dbc304ebe953040e08b3
gpio: check request result

Make sure the pin request passed before attempting to use it later on.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
common/cmd_gpio.c