summaryrefslogtreecommitdiffstats
path: root/drivers/dma
diff options
context:
space:
mode:
authorDaniel Mack <zonque@gmail.com>2013-08-10 18:52:20 +0200
committerVinod Koul <vinod.koul@intel.com>2013-08-14 13:55:16 +0530
commit419d1f126bc0bf7a0c027848905c4ca81a847a79 (patch)
tree67964fb688b0af87af11d72cef60afeb92e9f250 /drivers/dma
parenta9a7cf08bd080289bbf01ceed9369220f0715684 (diff)
downloadop-kernel-dev-419d1f126bc0bf7a0c027848905c4ca81a847a79.zip
op-kernel-dev-419d1f126bc0bf7a0c027848905c4ca81a847a79.tar.gz
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>
Diffstat (limited to 'drivers/dma')
-rw-r--r--drivers/dma/mmp_pdma.c2
1 files changed, 1 insertions, 1 deletions
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 @@ static int mmp_pdma_probe(struct platform_device *op)
}
}
- dev_info(pdev->device.dev, "initialized\n");
+ dev_info(pdev->device.dev, "initialized %d channels\n", dma_channels);
return 0;
}
OpenPOWER on IntegriCloud