Browse Source

video: driver: Power collapse Log level change

Currently, the below info printing as a error.
"msm_vidc: err : ffffffff: codec: power collapse already scheduled"

When multiple session is running, the above log will print multiple times &
this is not an error, so added change to print above log as info.

Change-Id: Iad961c29212579ee46a4cea47f7762f714c5e7ba
Signed-off-by: Gaviraju Doddabettahalli Bettegowda <[email protected]>
Gaviraju Doddabettahalli Bettegowda 3 năm trước cách đây
mục cha
commit
11c3efeb47
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      driver/vidc/src/venus_hfi.c

+ 1 - 1
driver/vidc/src/venus_hfi.c

@@ -383,7 +383,7 @@ static void __schedule_power_collapse_work(struct msm_vidc_core *core)
 
 	if (!mod_delayed_work(core->pm_workq, &core->pm_work,
 			msecs_to_jiffies(core->capabilities[SW_PC_DELAY].value))) {
-		d_vpr_e("power collapse already scheduled\n");
+		d_vpr_h("power collapse already scheduled\n");
 	} else {
 		d_vpr_l("power collapse scheduled for %d ms\n",
 			core->capabilities[SW_PC_DELAY].value);