msm: vidc: Silence some debugfs spam

Signed-off-by: Yaroslav Furman <yaro330@gmail.com>
This commit is contained in:
Yaroslav Furman 2019-07-06 23:12:20 +03:00 committed by Adithya R
parent cc224d6daa
commit 4774e2b2fa
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

@ -1970,8 +1970,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);