提交 178f827a 编写于 作者: N Nitesh Narayan Lal 提交者: Herbert Xu

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: NNitesh Narayan Lal <b44382@freescale.com>
Signed-off-by: NVakul Garg <b16394@freescale.com>
Signed-off-by: NHerbert Xu <herbert@gondor.apana.org.au>
上级 6f39da1c
...@@ -588,7 +588,7 @@ static int caam_probe(struct platform_device *pdev) ...@@ -588,7 +588,7 @@ static int caam_probe(struct platform_device *pdev)
*/ */
perfmon = (struct caam_perfmon __force *)&ctrl->perfmon; 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); ctrlpriv->ctl = debugfs_create_dir("ctl", ctrlpriv->dfs_root);
/* Controller-level - performance monitor counters */ /* Controller-level - performance monitor counters */
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册