[U-Boot] [PATCH 2/2] mmc: omap_hsmmc.c: only register getcd/getwp callbacks if gpio could be used

Tom Rini trini at ti.com
Tue Mar 26 15:54:37 CET 2013


On Thu, Mar 21, 2013 at 03:00:04PM +0100, Peter Korsgaard wrote:

> Gets rid of warnings from omap_gpio:
> ERROR : check_gpio: invalid GPIO -1
> 
> (and undefined behaviour as the -1 error code is interpreted as gpio value)
> 
> Signed-off-by: Peter Korsgaard <peter.korsgaard at barco.com>

Applied to u-boot-ti/master (and already pulled into u-boot-arm),
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/20130326/e399d8c4/attachment.pgp>


More information about the U-Boot mailing list