On Tue, May 21, 2013 at 2:32 PM, Fabio Estevam <[email protected]>wrote:
> When the SDHC port number index is invalid we should return an error code > immediately. > > Currently we return 'status', which has a value of zero, causing > board_mmc_init() to incorrectly return sucess. > > Fix this by returning -EINVAL instead. > > Signed-off-by: Fabio Estevam <[email protected]> > When I looked at this code I didn't change it because it raises a warning. So it returns the status if any failed. -- Otavio Salvador O.S. Systems http://www.ossystems.com.br http://projetos.ossystems.com.br Mobile: +55 (53) 9981-7854 Mobile: +1 (347) 903-9750
_______________________________________________ U-Boot mailing list [email protected] http://lists.denx.de/mailman/listinfo/u-boot

