|
@@ -5598,7 +5598,7 @@ static int mvpp2_aggr_txq_init(struct platform_device *pdev,
|
|
|
u32 txq_dma;
|
|
|
|
|
|
/* Allocate memory for TX descriptors */
|
|
|
- aggr_txq->descs = dma_alloc_coherent(&pdev->dev,
|
|
|
+ aggr_txq->descs = dma_zalloc_coherent(&pdev->dev,
|
|
|
MVPP2_AGGR_TXQ_SIZE * MVPP2_DESC_ALIGNED_SIZE,
|
|
|
&aggr_txq->descs_dma, GFP_KERNEL);
|
|
|
if (!aggr_txq->descs)
|