From: Daniel Mack Date: Sat, 10 Aug 2013 16:52:19 +0000 (+0200) Subject: dma: mmp_pdma: make the controller a DMA provider X-Git-Tag: v3.12-rc1~68^2~47 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a9a7cf08bd080289bbf01ceed9369220f0715684;p=pandora-kernel.git dma: mmp_pdma: make the controller a DMA provider This patch makes the mmp_pdma controller able to provide DMA resources in DT environments by providing an dma xlate function. of_dma_simple_xlate() isn't used here, because if fails to handle multiple different DMA engines or several instances of the same controller. Instead, a private implementation is provided that makes use of the newly introduced dma_get_slave_channel() call. Signed-off-by: Daniel Mack Acked-by: Arnd Bergmann Signed-off-by: Vinod Koul --- Reading git-diff-tree failed