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, 31 Oct 2013 14:49:14 +0000 (14:49 +0000)
commit94cb0e7980e27b0a303074568de76080de06a693
treebb74862c3e24f0e67b4ff890197c28917015984c
parent460d47db9da17322f823e3c16123666ef4c6c838
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