dmaengine: mv_xor_v2: set DMA mask to 40 bits
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Fri, 5 May 2017 09:57:50 +0000 (11:57 +0200)
committerVinod Koul <vinod.koul@intel.com>
Sun, 14 May 2017 12:54:44 +0000 (18:24 +0530)
commitb2d3c270f9f2fb82518ac500a9849c3aaf503852
tree114d95335455a17cc03696e41efcba0eebc374d7
parent9dd4f319bac25334a869d9276b19eac9e478fd33
dmaengine: mv_xor_v2: set DMA mask to 40 bits

The XORv2 engine on Armada 7K/8K can only access the first 40 bits of
the physical address space, so the DMA mask must be set accordingly.

Fixes: 19a340b1a820 ("dmaengine: mv_xor_v2: new driver")
Cc: <stable@vger.kernel.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
drivers/dma/mv_xor_v2.c