summaryrefslogtreecommitdiffstats
path: root/drivers/dma/omap-dma.c
diff options
context:
space:
mode:
authorVinod Koul <vinod.koul@intel.com>2016-01-06 15:17:32 +0530
committerVinod Koul <vinod.koul@intel.com>2016-01-06 15:17:32 +0530
commit7c7b680fa6b0866af2c4876da261bbfe710315d6 (patch)
tree6f2449fdecb4edab3309d40959309ca80d2bb71d /drivers/dma/omap-dma.c
parent5eec94388db40ce45bec028af2e2f62df751c887 (diff)
parent020c62ae38946cae01571a0b4e6f445dfdb7ec1c (diff)
downloadlinux-7c7b680fa6b0866af2c4876da261bbfe710315d6.tar.bz2
Merge branch 'topic/univ_api' into for-linus
Diffstat (limited to 'drivers/dma/omap-dma.c')
-rw-r--r--drivers/dma/omap-dma.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/dma/omap-dma.c b/drivers/dma/omap-dma.c
index 1dfc71c90123..48f77c289cd3 100644
--- a/drivers/dma/omap-dma.c
+++ b/drivers/dma/omap-dma.c
@@ -1203,6 +1203,10 @@ static int omap_dma_probe(struct platform_device *pdev)
return rc;
}
+ od->ddev.filter.map = od->plat->slave_map;
+ od->ddev.filter.mapcnt = od->plat->slavecnt;
+ od->ddev.filter.fn = omap_dma_filter_fn;
+
rc = dma_async_device_register(&od->ddev);
if (rc) {
pr_warn("OMAP-DMA: failed to register slave DMA engine device: %d\n",