]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
DMA-API: others: use dma_set_coherent_mask()
authorRussell King <rmk+kernel@arm.linux.org.uk>
Mon, 10 Jun 2013 17:41:59 +0000 (18:41 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Thu, 3 Oct 2013 09:25:02 +0000 (10:25 +0100)
commitd97ae793bb5bed150673150cc366ab19bcf93a88
tree6722eb11264996a8c94de8f8eecd5dca898aa053
parent72c5adb8687fa5b84a13e9f8ede3c81c559fef88
DMA-API: others: 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/ata/pata_ixp4xx_cf.c
drivers/gpu/drm/exynos/exynos_drm_drv.c
drivers/gpu/drm/omapdrm/omap_dmm_tiler.c