commit | 94cb0e7980e27b0a303074568de76080de06a693 | [log] [tgz] |
---|---|---|
author | Russell King <rmk+kernel@arm.linux.org.uk> | Thu Jun 27 13:45:16 2013 +0100 |
committer | Russell King <rmk+kernel@arm.linux.org.uk> | Thu Oct 31 14:49:14 2013 +0000 |
tree | bb74862c3e24f0e67b4ff890197c28917015984c | |
parent | 460d47db9da17322f823e3c16123666ef4c6c838 [diff] |
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>