techpack: video: remove log spam

This commit is contained in:
spakkkk 2021-02-15 16:31:03 +00:00
parent b8aba0da16
commit c216439fa5
2 changed files with 3 additions and 4 deletions

View File

@ -1447,7 +1447,7 @@ void *msm_vidc_open(int core_id, int session_type)
goto err_invalid_sid;
}
pr_info(VIDC_DBG_TAG "Opening video instance: %pK, %d\n",
pr_debug(VIDC_DBG_TAG "Opening video instance: %pK, %d\n",
"high", inst->sid, get_codec_name(inst->sid),
inst, session_type);
mutex_init(&inst->sync_lock);
@ -1717,7 +1717,7 @@ int msm_vidc_destroy(struct msm_vidc_inst *inst)
#ifdef CONFIG_DEBUG_FS
msm_vidc_debugfs_deinit_inst(inst);
#endif
pr_info(VIDC_DBG_TAG "Closed video instance: %pK\n",
pr_debug(VIDC_DBG_TAG "Closed video instance: %pK\n",
"high", inst->sid, get_codec_name(inst->sid),
inst);
put_sid(inst->sid);

View File

@ -10,8 +10,7 @@
#include "vidc_hfi_api.h"
#include <linux/of_fdt.h>
int msm_vidc_debug = VIDC_ERR | VIDC_PRINTK |
FW_ERROR | FW_FATAL | FW_FTRACE;
int msm_vidc_debug = 0;
EXPORT_SYMBOL(msm_vidc_debug);
bool msm_vidc_lossless_encode = !true;