]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitc03feda41d4c7c42cd39cb99ba498e1fa5e3dead
tree6990fdb952ad628dc133a7ce1fcb294c17563f6d
parentea98c5b551beb937acadb94be34538e6cac3102d
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