summaryrefslogtreecommitdiff
path: root/drivers/mtd/nand/pxa3xx_nand.c
diff options
context:
space:
mode:
authorPeng Fan <van.freenix@gmail.com>2016-01-27 02:38:02 (GMT)
committerScott Wood <scottwood@freescale.com>2016-02-12 23:10:15 (GMT)
commit549d7c0e091de6759deef4202129a57480f6414c (patch)
treeb4c6f32e5e35ba08c7ed63515379e457acb8568a /drivers/mtd/nand/pxa3xx_nand.c
parent9ef2835f26652092a61b0cb0551ef4f36be27946 (diff)
downloadu-boot-fsl-qoriq-549d7c0e091de6759deef4202129a57480f6414c.tar.xz
nand: mxs: fix error handling for mxs_nand_init
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@denx.de> CC: Fabio Estevam <Fabio.Estevam@freescale.com> Cc: Scott Wood <scottwood@freescale.com> Cc: Marek Vasut <marex@denx.de> Signed-off-by: Peng Fan <van.freenix@gmail.com> Reviewed-by: Marek Vasut <marex@denx.de>
Diffstat (limited to 'drivers/mtd/nand/pxa3xx_nand.c')
0 files changed, 0 insertions, 0 deletions