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)
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>

No differences found