diff options
author | Kedareswara rao Appana <appana.durga.rao@xilinx.com> | 2017-12-07 00:21:07 -0500 |
---|---|---|
committer | Vinod Koul <vinod.koul@intel.com> | 2017-12-18 00:14:09 -0500 |
commit | c7a03599b58f116362d4ed0e548df7374a563916 (patch) | |
tree | a0ff771c820b1516c06308944c1d425d03975979 | |
parent | 22653af70eed34d18542d6c7e6ae9224d0cd94cd (diff) |
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: Kedareswara rao Appana <appanad@xilinx.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
-rw-r--r-- | drivers/dma/xilinx/xilinx_dma.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/drivers/dma/xilinx/xilinx_dma.c b/drivers/dma/xilinx/xilinx_dma.c index b09a8efcfb2d..52e2f186c814 100644 --- a/drivers/dma/xilinx/xilinx_dma.c +++ b/drivers/dma/xilinx/xilinx_dma.c | |||
@@ -2680,7 +2680,12 @@ static int xilinx_dma_probe(struct platform_device *pdev) | |||
2680 | goto error; | 2680 | goto error; |
2681 | } | 2681 | } |
2682 | 2682 | ||
2683 | dev_info(&pdev->dev, "Xilinx AXI VDMA Engine Driver Probed!!\n"); | 2683 | if (xdev->dma_config->dmatype == XDMA_TYPE_AXIDMA) |
2684 | dev_info(&pdev->dev, "Xilinx AXI DMA Engine Driver Probed!!\n"); | ||
2685 | else if (xdev->dma_config->dmatype == XDMA_TYPE_CDMA) | ||
2686 | dev_info(&pdev->dev, "Xilinx AXI CDMA Engine Driver Probed!!\n"); | ||
2687 | else | ||
2688 | dev_info(&pdev->dev, "Xilinx AXI VDMA Engine Driver Probed!!\n"); | ||
2684 | 2689 | ||
2685 | return 0; | 2690 | return 0; |
2686 | 2691 | ||