summaryrefslogtreecommitdiffstats
path: root/block/blk-integrity.c
diff options
context:
space:
mode:
authorPeter Senna Tschudin <peter.senna@gmail.com>2014-03-16 00:30:52 +0100
committerDavid S. Miller <davem@davemloft.net>2014-03-17 17:19:45 -0400
commit8d7f1fbf083e19688619e6ca25c95434a2c30537 (patch)
treec67d8e511502023e108ab808b367e8d34cb46ec6 /block/blk-integrity.c
parentee7d07e7940c73dc004a9e22e9c3b34b7a9d810e (diff)
downloadlinux-8d7f1fbf083e19688619e6ca25c95434a2c30537.tar.bz2
ATHEROS-ALX: Use dma_set_mask_and_coherent and fix a bug
1. For the 64 bits dma mask use dma_set_mask_and_coherent instead of dma_set_mask and dma_set_coherent_mask. 2. For the 32 bits dma mask dma_set_coherent_mask is only called if dma_set_mask fails, which is unusual. Assuming this as a bug, fixes it by replacing calls to dma_set_mask and dma_set_coherent_mask by a call to dma_set_mask_and_coherent. Signed-off-by: Peter Senna Tschudin <peter.senna@gmail.com> Tested-by: Jonas Hahnfeld <hahnjo@hahnjo.de> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'block/blk-integrity.c')
0 files changed, 0 insertions, 0 deletions