[RFC] pl08x: don't use dma_slave_config direction argument

Russell King - ARM Linux linux at arm.linux.org.uk
Wed May 16 08:52:53 EDT 2012


On Wed, May 16, 2012 at 02:24:02PM +0200, Roland Stigge wrote:
> After applying series 1-6 (as well as with 1-7), my just posted LPC32xx
> NAND drivers have problems mounting the MTD (basically, NAND page reads,
> DMA dev to mem from NAND controller internal buffers).
> 
> * SLC driver says:
> 
> lpc32xx-nand 20020000.flash: FIFO not empty!
> lpc32xx-nand 20020000.flash: FIFO held data too long
> lpc32xx-nand 20020000.flash: DMA FIFO failure
> 
> * MLC driver just gets bad data resulting in detected bad blocks.
> 
> Without the patches, they work as tested.
> 
> Any hints, before I find the time to sort out all the details with
> amba-pl08x?

Nothing jumps out; it would be useful if you could bisect the small
series - I did the conversion in small steps so it should be easy to
track down.  And it shouldn't take too long to rebuild between each
iteration.  Whatever it is, it's probably going to be a stupid mistake
somewhere.



More information about the linux-arm-kernel mailing list