Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c7a03599 authored by Kedareswara rao Appana's avatar Kedareswara rao Appana Committed by Vinod Koul
Browse files

dmaengine: xilinx_dma: Differentiate probe based on the ip type



This patch updates the probe banner info based on the ip probed.

Signed-off-by: default avatarKedareswara rao Appana <appanad@xilinx.com>
Signed-off-by: default avatarVinod Koul <vinod.koul@intel.com>
parent 22653af7
Loading
Loading
Loading
Loading
+6 −1
Original line number Diff line number Diff line
@@ -2680,6 +2680,11 @@ static int xilinx_dma_probe(struct platform_device *pdev)
		goto error;
	}

	if (xdev->dma_config->dmatype == XDMA_TYPE_AXIDMA)
		dev_info(&pdev->dev, "Xilinx AXI DMA Engine Driver Probed!!\n");
	else if (xdev->dma_config->dmatype == XDMA_TYPE_CDMA)
		dev_info(&pdev->dev, "Xilinx AXI CDMA Engine Driver Probed!!\n");
	else
		dev_info(&pdev->dev, "Xilinx AXI VDMA Engine Driver Probed!!\n");

	return 0;