[U-Boot] [U-Boot, 2/3] gpio_led: check gpio_request() return value

Tom Rini trini at ti.com
Mon Nov 25 22:56:49 CET 2013


On Fri, Nov 08, 2013 at 01:03:51AM +0200, Igor Grinberg wrote:
> Add a check for the gpio_request() function return value and do not try
> to configure the GPIO if the gpio_request() call fails.
> Also, print an error message indicating the gpio_request() has failed.
> 
> Signed-off-by: Igor Grinberg <grinberg at compulab.co.il>
> Tested-by: Ilya Ledvich <ilya at compulab.co.il>

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20131125/cfd2d937/attachment.pgp>


More information about the U-Boot mailing list