msm: vidc: silence some debugfs spam

Signed-off-by: Yaroslav Furman <yaro330@gmail.com>
Signed-off-by: azrim <mirzaspc@gmail.com>
This commit is contained in:
Yaroslav Furman 2019-07-06 23:12:20 +03:00 committed by azrim
parent 06fb7db466
commit 6ef7553d1a
No known key found for this signature in database
GPG Key ID: 497F8FB059B45D1C
2 changed files with 4 additions and 0 deletions

View File

@ -623,8 +623,10 @@ static int msm_vidc_probe_vidc_device(struct platform_device *pdev)
list_add_tail(&core->list, &vidc_driver->cores);
mutex_unlock(&vidc_driver->lock);
#ifdef CONFIG_DEBUG_FS
core->debugfs_root = msm_vidc_debugfs_init_core(
core, vidc_driver->debugfs_root);
#endif
vidc_driver->sku_version = core->resources.sku_version;

View File

@ -2000,8 +2000,10 @@ void *msm_vidc_open(int core_id, int session_type)
msm_comm_scale_clocks_and_bus(inst);
#ifdef CONFIG_DEBUG_FS
inst->debugfs_root =
msm_vidc_debugfs_init_inst(inst, core->debugfs_root);
#endif
if (inst->session_type == MSM_VIDC_CVP) {
rc = msm_comm_try_state(inst, MSM_VIDC_OPEN_DONE);