dma: mmp_pdma: print the number of channels at probe time
That helps check the provided runtime information.
Signed-off-by: Daniel Mack <zonque@gmail.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
diff --git a/drivers/dma/mmp_pdma.c b/drivers/dma/mmp_pdma.c
index 76884c4..4de4f3f 100644
--- a/drivers/dma/mmp_pdma.c
+++ b/drivers/dma/mmp_pdma.c
@@ -907,7 +907,7 @@
}
}
- dev_info(pdev->device.dev, "initialized\n");
+ dev_info(pdev->device.dev, "initialized %d channels\n", dma_channels);
return 0;
}