msm: vidc: Disable debugfs not created logspam.

Signed-off-by: Gagan Malvi <malvigagan@gmail.com>
This commit is contained in:
Gagan Malvi 2021-08-26 15:09:06 +02:00
parent 092b8d091f
commit 5264660de5
No known key found for this signature in database
GPG key ID: B932A7CE71E9198F
4 changed files with 7 additions and 7 deletions

View file

@ -808,8 +808,8 @@ static int __init msm_vidc_init(void)
mutex_init(&vidc_driver->lock);
vidc_driver->debugfs_root = msm_vidc_debugfs_init_drv();
if (!vidc_driver->debugfs_root)
dprintk(VIDC_ERR,
"Failed to create debugfs for msm_vidc\n");
// dprintk(VIDC_ERR,
// "Failed to create debugfs for msm_vidc\n");
rc = platform_driver_register(&msm_vidc_driver);
if (rc) {

View file

@ -228,7 +228,7 @@ struct dentry *msm_vidc_debugfs_init_core(struct msm_vidc_core *core,
snprintf(debugfs_name, MAX_DEBUGFS_NAME, "core%d", core->id);
dir = debugfs_create_dir(debugfs_name, parent);
if (!dir) {
dprintk(VIDC_ERR, "Failed to create debugfs for msm_vidc\n");
// dprintk(VIDC_ERR, "Failed to create debugfs for msm_vidc\n");
goto failed_create_dir;
}
@ -447,7 +447,7 @@ struct dentry *msm_vidc_debugfs_init_inst(struct msm_vidc_inst *inst,
dir = debugfs_create_dir(debugfs_name, parent);
if (!dir) {
dprintk(VIDC_ERR, "Failed to create debugfs for msm_vidc\n");
// dprintk(VIDC_ERR, "Failed to create debugfs for msm_vidc\n");
goto failed_create_dir;
}

View file

@ -772,7 +772,7 @@ static int __init msm_vidc_init(void)
mutex_init(&vidc_driver->lock);
vidc_driver->debugfs_root = msm_vidc_debugfs_init_drv();
if (!vidc_driver->debugfs_root)
d_vpr_e("Failed to create debugfs for msm_vidc\n");
// d_vpr_e("Failed to create debugfs for msm_vidc\n");
rc = platform_driver_register(&msm_vidc_driver);
if (rc) {

View file

@ -273,7 +273,7 @@ struct dentry *msm_vidc_debugfs_init_core(struct msm_vidc_core *core,
dir = debugfs_create_dir(debugfs_name, parent);
if (IS_ERR_OR_NULL(dir)) {
dir = NULL;
d_vpr_e("Failed to create debugfs for msm_vidc\n");
// d_vpr_e("Failed to create debugfs for msm_vidc\n");
goto failed_create_dir;
}
if (!debugfs_create_file("info", 0444, dir, core, &core_info_fops)) {
@ -494,7 +494,7 @@ struct dentry *msm_vidc_debugfs_init_inst(struct msm_vidc_inst *inst,
dir = debugfs_create_dir(debugfs_name, parent);
if (IS_ERR_OR_NULL(dir)) {
dir = NULL;
s_vpr_e(inst->sid, "Failed to create debugfs for msm_vidc\n");
// s_vpr_e(inst->sid, "Failed to create debugfs for msm_vidc\n");
goto failed_create_dir;
}