mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-10 22:40:54 -04:00
msm: adsprpc: remove excesive logging from debugfs during smmu probing
During smmu probing same debugfs file is being created for each probe. Move debugfs file creation from smmu probing to device init call. Change-Id: Iebb6450744d507278d4f5c3283638399987d2a29 Signed-off-by: Edgar Flores <edgarf@codeaurora.org>
This commit is contained in:
parent
2104c7da74
commit
8096421565
1 changed files with 2 additions and 2 deletions
|
|
@ -5126,8 +5126,6 @@ static int fastrpc_cb_probe(struct device *dev)
|
|||
}
|
||||
|
||||
chan->sesscount++;
|
||||
debugfs_global_file = debugfs_create_file("global", 0644, debugfs_root,
|
||||
NULL, &debugfs_fops);
|
||||
bail:
|
||||
return err;
|
||||
}
|
||||
|
|
@ -5375,6 +5373,8 @@ static int __init fastrpc_device_init(void)
|
|||
int err = 0, i;
|
||||
|
||||
debugfs_root = debugfs_create_dir("adsprpc", NULL);
|
||||
debugfs_global_file = debugfs_create_file("global", 0644, debugfs_root,
|
||||
NULL, &debugfs_fops);
|
||||
memset(me, 0, sizeof(*me));
|
||||
fastrpc_init(me);
|
||||
me->dev = NULL;
|
||||
|
|
|
|||
Loading…
Reference in a new issue