From: Peter Senna Tschudin Date: Sat, 15 Mar 2014 23:30:52 +0000 (+0100) Subject: ATHEROS-ALX: Use dma_set_mask_and_coherent and fix a bug X-Git-Tag: v3.14-rc8~3^2~20 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8d7f1fbf083e19688619e6ca25c95434a2c30537;p=pandora-kernel.git 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 Tested-by: Jonas Hahnfeld Signed-off-by: David S. Miller --- Reading git-diff-tree failed