]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
DMA-API: ata: pata_octeon_cf: convert to use dma_coerce_mask_and_coherent()
authorRussell King <rmk+kernel@arm.linux.org.uk>
Thu, 27 Jun 2013 12:34:52 +0000 (13:34 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Thu, 3 Oct 2013 09:22:46 +0000 (10:22 +0100)
commit8274dd2de6143cda2a19baf82a3cca3a29ea1f1b
treedf7f055e738a928584a1a94055e1f2716701ec4f
parent4e3f9e5b8e4975fe7d92d9ad92efe1c443d39985
DMA-API: ata: pata_octeon_cf: convert to use dma_coerce_mask_and_coherent()

Convert this code sequence:
pdev->dev.coherent_dma_mask = DMA_BIT_MASK(64);
pdev->dev.dma_mask = &pdev->dev.coherent_dma_mask;
to use dma_coerce_mask_and_coherent() to avoid bypassing the architecture
check on the DMA mask.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
drivers/ata/pata_octeon_cf.c