[PATCH for v3.13 0/2] pxa3xx-nand fixes for v3.13

Ezequiel Garcia ezequiel.garcia at free-electrons.com
Tue Dec 10 07:57:14 EST 2013


Two almost-oneline fixes intended for v3.13.

The first commit fixes a current problem that can be reproduced
on PXA boards, when use_dma = 1 and after a device fails to be detected.
The driver currently tries to release DMA resources that are not allocated.

The second commit fixes a problem that can be triggered on PXA boards
by writing a blank page (0xff).
The bug itself was found by Arnaud Ebalard while testing 2048B page size
support on the Armada 370/XP variant, yet the bug can be reproduced on the
driver's PXA variant.

Ezequiel Garcia (2):
  mtd: nand: pxa3xx: Use info->use_dma to release DMA resources
  mtd: nand: pxa3xx: Clear need_wait flag when starting a command

 drivers/mtd/nand/pxa3xx_nand.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

-- 
1.8.1.5




More information about the linux-mtd mailing list