Pārlūkot izejas kodu

driver: video: Remove calls to power features during priority handling

While priority interface is set by V4L2 clients, tuning power features
is not needed. The same is done when stream on is called.

Change-Id: I931bbf72e5234ca552cdef984f05a2942ebc3442
Signed-off-by: Vikash Garodia <[email protected]>
Vikash Garodia 3 gadi atpakaļ
vecāks
revīzija
5589b67cb5
1 mainītis faili ar 1 papildinājumiem un 4 dzēšanām
  1. 1 4
      driver/vidc/src/msm_vidc_control.c

+ 1 - 4
driver/vidc/src/msm_vidc_control.c

@@ -1107,11 +1107,8 @@ static int msm_vidc_update_static_property(struct msm_vidc_inst *inst,
 			return rc;
 	}
 
-	if (ctrl->id == V4L2_CID_MPEG_VIDC_CRITICAL_PRIORITY) {
-		inst->decode_batch.enable = msm_vidc_allow_decode_batch(inst);
-		msm_vidc_allow_dcvs(inst);
+	if (ctrl->id == V4L2_CID_MPEG_VIDC_CRITICAL_PRIORITY)
 		msm_vidc_update_cap_value(inst, PRIORITY, 0, __func__);
-	}
 
 	if (ctrl->id == V4L2_CID_MPEG_VIDEO_HEVC_HIER_CODING_LAYER) {
 		u32 enable;