]> git.baikalelectronics.ru Git - kernel.git/commit
mtd: omap2: fix resource leak in prefetch-busy path
authorGrazvydas Ignotas <notasas@gmail.com>
Wed, 11 Apr 2012 01:04:34 +0000 (04:04 +0300)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Mon, 14 May 2012 03:52:10 +0000 (22:52 -0500)
commit32ee79302da8d8ce4aae7345a0df6d7238a0cf03
treeb477c26b2f31adfce60268c12b11403879661212
parent9ab4c87019df8af332995fbddc67b3796d44a0fb
mtd: omap2: fix resource leak in prefetch-busy path

If prefetch engine is busy, current code "forgets" to call
dma_unmap_single(), which results in a deadlock later, so add it.

Signed-off-by: Grazvydas Ignotas <notasas@gmail.com>
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
drivers/mtd/nand/omap2.c