[U-Boot] [patch resend] nand: mxs: fix error handling for mxs_nand_init

Marek Vasut marex at denx.de
Wed Jan 27 04:10:20 CET 2016


On Wednesday, January 27, 2016 at 03:38:02 AM, Peng Fan wrote:
> Fix error handling for mxs_nand_init.
> 
> The original error handling is wrong for err2 and err1.
> Should first free desc[x], then free desc.
> 
> This patch also correctly handle err3, should use
> MXS_DMA_CHANNEL_AHB_APBH_GPMI0 as the check point.
> 
> Cc: Stefano Babic <sbabic at denx.de>
> CC: Fabio Estevam <Fabio.Estevam at freescale.com>
> Cc: Scott Wood <scottwood at freescale.com>
> Cc: Marek Vasut <marex at denx.de>
> Signed-off-by: Peng Fan <van.freenix at gmail.com>

It looks fine,

Reviewed-by: Marek Vasut <marex at denx.de>

Why the resend btw ?

Best regards,
Marek Vasut


More information about the U-Boot mailing list