]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
DMA-API: dma: edma.c: no need to explicitly initialize DMA masks
authorRussell King <rmk+kernel@arm.linux.org.uk>
Thu, 27 Jun 2013 12:45:16 +0000 (13:45 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Thu, 3 Oct 2013 09:25:04 +0000 (10:25 +0100)
commitf11e4a037d3076214d80464ead490a99265a7c4a
tree38ca50157f274c62b6576885e198127fe39e07a2
parent4c9ad10593928765d7fe4cc08d4c051d6ef5e1ae
DMA-API: dma: edma.c: no need to explicitly initialize DMA masks

register_platform_device_full() can setup the DMA mask provided the
appropriate member is set in struct platform_device_info.  So lets
make that be the case.  This avoids a direct reference to the DMA
masks by this driver.

While here, add the dma_set_mask_and_coherent() call which the DMA API
requires DMA-using drivers to call.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
drivers/dma/edma.c