dmaengine: fsl-dpaa2-qdma: Fix the size of dma pools
authorGuanhua Gao <guanhua.gao@nxp.com>
Tue, 8 Dec 2020 08:14:04 +0000 (16:14 +0800)
committerXiaobo Xie <xiaobo.xie@nxp.com>
Thu, 21 Jan 2021 08:42:17 +0000 (09:42 +0100)
commit4b95fddb3e784019fd85836cc3bfe14653ed94a3
treeca58cd69b991df433296081fc782e83b1dddaafb
parent68023ebbb72b306cb004a2a8716feac54554ada3
dmaengine: fsl-dpaa2-qdma: Fix the size of dma pools

In case of long format of qDMA command descriptor, there are one frame
descriptor, three entries in the frame list and two data entries. So the
size of dma_pool_create for these three fields should be the same with
the total size of entries respectively, or the contents may be overwritten
by the next allocated descriptor.

Signed-off-by: Guanhua Gao <guanhua.gao@nxp.com>
drivers/dma/fsl-dpaa2-qdma/dpaa2-qdma.c