Skip to content
Commit 4cdbb4ff authored by Russell King's avatar Russell King
Browse files

DMA-API: staging: use dma_set_coherent_mask()



The correct way for a driver to specify the coherent DMA mask is
not to directly access the field in the struct device, but to use
dma_set_coherent_mask().  Only arch and bus code should access this
member directly.

Convert all direct write accesses to using the correct API.

Signed-off-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
parent e1fd7341
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