Re: [U-Boot] [PATCH] nand: mxs: fix error handling for mxs_nand_init

2016-01-25 Thread Peng Fan
Hi Scott, Gentle ping.. it's a few weeks since patch sent out. Thanks, Peng. On Sat, Jan 09, 2016 at 09:23:53PM +0800, Peng Fan wrote: >From: Peng Fan > >Fix error handling for mxs_nand_init. > >The original error handling is wrong for err2 and err1. >Should first free

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

2016-01-09 Thread Peng Fan
From: Peng Fan 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. Signed-off-by: Peng