Explorar o código

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

qctecmdr %!s(int64=3) %!d(string=hai) anos
pai
achega
ae681247a3
Modificáronse 1 ficheiros con 1 adicións e 4 borrados
  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;