summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorRobert Jarzmik <robert.jarzmik@free.fr>2015-05-25 23:29:22 +0200
committerVinod Koul <vinod.koul@intel.com>2015-05-29 11:12:48 +0200
commitc91134d9194478144ba579ca6efeddf628055650 (patch)
tree823dc2fbd08aae592544fa3c0b59813d4303fb81 /include
parentdmaengine: pxa_dma: add debug information (diff)
downloadlinux-c91134d9194478144ba579ca6efeddf628055650.tar.xz
linux-c91134d9194478144ba579ca6efeddf628055650.zip
dmaengine: pxa_dma: add support for legacy transition
In order to achieve smooth transition of pxa drivers from old legacy dma handling to new dmaengine, introduce a function to "hide" dma physical channels from dmaengine. This is temporary situation where pxa dma will be handled in 2 places : - arch/arm/plat-pxa/dma.c - drivers/dma/pxa_dma.c The resources, ie. dma channels, will be controlled by pxa_dma. The legacy code will request or release a channel with pxad_toggle_reserved_channel(). This is not very pretty, but it ensures both legacy and dmaengine consumers can live in the same kernel until the conversion is done. Signed-off-by: Robert Jarzmik <robert.jarzmik@free.fr> Acked-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions