]> git.karo-electronics.de Git - karo-tx-linux.git/commit
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, 3 Oct 2013 09:25:01 +0000 (10:25 +0100)
commit72c5adb8687fa5b84a13e9f8ede3c81c559fef88
tree16f5b99390f12b835e8e308b337f3ada89c239d8
parent6a48ab236b7d4da30fd01046c1a2fb155ecc2366
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