From: Russell King Date: Thu, 27 Jun 2013 13:03:13 +0000 (+0100) Subject: DMA-API: net: nxp/lpc_eth: use dma_coerce_mask_and_coherent() X-Git-Tag: v3.13-rc1~104^2~19 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b469357f4ba28bd8d659106143fb1f6b3c64d5df;p=pandora-kernel.git DMA-API: net: nxp/lpc_eth: use dma_coerce_mask_and_coherent() The code sequence: pldat->pdev->dev.coherent_dma_mask = 0xFFFFFFFF; pldat->pdev->dev.dma_mask = &pldat->pdev->dev.coherent_dma_mask; bypasses the architectures check on the DMA mask. It can be replaced with dma_coerce_mask_and_coherent(), avoiding the direct initialization of this mask. Signed-off-by: Russell King --- Reading git-diff-tree failed