]> git.karo-electronics.de Git - karo-tx-linux.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)
committerArtem Bityutskiy <Artem.Bityutskiy@linux.intel.com>
Fri, 27 Apr 2012 06:02:19 +0000 (09:02 +0300)
commitdc9b2686408d1bb6f91e95fe9bafd35a1c8d65aa
treea24f79c58954f0746ee33713a5986c80645d2751
parent6387a96cd697e4eb4cafb16a184981142c7c5c64
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>
drivers/mtd/nand/omap2.c