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

2016-01-26 Thread Marek Vasut
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

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

2016-01-26 Thread 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. Cc: Stefano Babic CC: Fabio Estevam Cc: Scott Wood Cc: