From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefano Babic Date: Fri, 21 Nov 2014 16:47:09 +0100 Subject: [U-Boot] [PATCH 1/5] mx51evk: Fix error handling in board_mmc_init() In-Reply-To: <1416508520-26520-1-git-send-email-festevam@gmail.com> References: <1416508520-26520-1-git-send-email-festevam@gmail.com> Message-ID: <546F5E7D.208@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 20/11/2014 19:35, Fabio Estevam wrote: > From: Fabio Estevam > > When an invalid USDHC port is passed we should return -EINVAL instead of 0. > > Also, return the error immediately on fsl_esdhc_initialize() failure. > > Signed-off-by: Fabio Estevam > --- For the whole series: Applied to u-boot-imx, thanks ! Best regards, Stefano Babic -- ===================================================================== DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de =====================================================================