]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit67f75c1842dec13d58d13f6f8cd7315ab8ee1a4d
tree114d95335455a17cc03696e41efcba0eebc374d7
parent6f9c0bc225cce0711b344f2751f4c5e6de69315d
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: 3b017a380a25 ("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