mtd: OneNAND: Fix loop hang when DMA error at Samsung SoCs
authorKyungmin Park <kyungmin.park@samsung.com>
Fri, 27 Aug 2010 02:55:37 +0000 (11:55 +0900)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Mon, 13 Sep 2010 07:49:45 +0000 (08:49 +0100)
commit53d1e137d5ddd8a1c5ec54c5375cb2832e1cbcd1
treef053b9d0e773e2d379f79834630c1c1853e2258a
parent9aba97ad004ed0cde9747a9daf5b1484edb746cd
mtd: OneNAND: Fix loop hang when DMA error at Samsung SoCs

When DMA error occurs. it's loop hang since it can't exit the loop.
and it's the right DMA handling code as Spec.

Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
drivers/mtd/onenand/samsung.c