Skip to content

Commit 178f827

Browse files
Nitesh Narayan Lalherbertx
authored andcommitted
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>
1 parent 6f39da1 commit 178f827

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎drivers/crypto/caam/ctrl.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -588,7 +588,7 @@ static int caam_probe(struct platform_device *pdev)
588588
*/
589589
perfmon = (struct caam_perfmon __force *)&ctrl->perfmon;
590590

591-
ctrlpriv->dfs_root = debugfs_create_dir("caam", NULL);
591+
ctrlpriv->dfs_root = debugfs_create_dir(dev_name(dev), NULL);
592592
ctrlpriv->ctl = debugfs_create_dir("ctl", ctrlpriv->dfs_root);
593593

594594
/* Controller-level - performance monitor counters */

0 commit comments

Comments
 (0)