summaryrefslogtreecommitdiffstats
path: root/drivers/crypto
diff options
context:
space:
mode:
authorNitesh Narayan Lal <b44382@freescale.com>2014-07-01 16:24:54 +0200
committerHerbert Xu <herbert@gondor.apana.org.au>2014-07-08 15:06:36 +0200
commit178f827a60becdcff67df61cc9f0200fcce93f6c (patch)
treea23161a46baa9481e1a7a67949fcca1b854dc9ae /drivers/crypto
parentcrypto: dts - Addition of missing SEC compatibile property in c29x device tree (diff)
downloadlinux-178f827a60becdcff67df61cc9f0200fcce93f6c.tar.xz
linux-178f827a60becdcff67df61cc9f0200fcce93f6c.zip
crypto: caam - Enabling multiple caam debug support for C29x platform
In the current setup debug file system enables us to debug the operational details for only one CAAM. This patch adds the support for debugging multiple CAAM's. Signed-off-by: Nitesh Narayan Lal <b44382@freescale.com> Signed-off-by: Vakul Garg <b16394@freescale.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto')
-rw-r--r--drivers/crypto/caam/ctrl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/crypto/caam/ctrl.c b/drivers/crypto/caam/ctrl.c
index 1d8e003d2582..c6e9d3b2d502 100644
--- a/drivers/crypto/caam/ctrl.c
+++ b/drivers/crypto/caam/ctrl.c
@@ -588,7 +588,7 @@ static int caam_probe(struct platform_device *pdev)
*/
perfmon = (struct caam_perfmon __force *)&ctrl->perfmon;
- ctrlpriv->dfs_root = debugfs_create_dir("caam", NULL);
+ ctrlpriv->dfs_root = debugfs_create_dir(dev_name(dev), NULL);
ctrlpriv->ctl = debugfs_create_dir("ctl", ctrlpriv->dfs_root);
/* Controller-level - performance monitor counters */