DMA-API: staging: use dma_set_coherent_mask()
authorRussell King <rmk+kernel@arm.linux.org.uk>
Mon, 10 Jun 2013 15:56:16 +0000 (16:56 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Thu, 31 Oct 2013 14:49:06 +0000 (14:49 +0000)
commit4cdbb4ff7fe456c43e9d6c6397e37380ff292520
tree6d27e0e1ee944715fbc38d90c45a43c65799c8e5
parente1fd7341837238c6c5380c5073887d238f706cf0
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: Russell King <rmk+kernel@arm.linux.org.uk>
drivers/staging/dwc2/platform.c
drivers/staging/imx-drm/imx-drm-core.c
drivers/staging/imx-drm/ipuv3-crtc.c