dmaengine: xgene-dma: Fix overwritting DMA tx ring
authorRameshwar Prasad Sahu <rsahu@apm.com>
Wed, 16 Sep 2015 08:03:23 +0000 (13:33 +0530)
committerVinod Koul <vinod.koul@intel.com>
Wed, 30 Sep 2015 08:04:43 +0000 (13:34 +0530)
commitee08b59d47d859ed0a11ab331a3fbc5ab3b56100
tree6990fdb952ad628dc133a7ce1fcb294c17563f6d
parent214fc4e423ff38b41b60db2209cf49b4e9a7209b
dmaengine: xgene-dma: Fix overwritting DMA tx ring

This patch fixes an over flow issue with the TX ring descriptor. Each
descriptor is 32B in size and an operation requires 2 of these
descriptors.

Signed-off-by: Rameshwar Prasad Sahu <rsahu@apm.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
drivers/dma/xgene-dma.c