]> git.karo-electronics.de Git - karo-tx-linux.git/commit
dmaengine: rcar-dmac: Work around descriptor mode IOMMU errata
authorLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Tue, 27 Jan 2015 16:33:29 +0000 (18:33 +0200)
committerVinod Koul <vinod.koul@intel.com>
Mon, 16 Feb 2015 04:03:34 +0000 (09:33 +0530)
commit3f46306127bb7d8a69078ff9ef8a5827677c2159
treee1f0acc09d71f37b906cc56901392496ce83ea8a
parent6a634808e315a148dfe8db925215cbaaa3ea1831
dmaengine: rcar-dmac: Work around descriptor mode IOMMU errata

When descriptor memory is accessed through an IOMMU the DMADAR register
isn't initialized automatically from the first descriptor at beginning
of transfer by the DMAC like it should. Initialize it manually with the
destination address of the first chunk.

Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Acked-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
drivers/dma/sh/rcar-dmac.c