Skip to content
Commit 94cb0e79 authored by Russell King's avatar Russell King
Browse files

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: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
parent 460d47db
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment