Quellcode durchsuchen

video: driver: donot streamoff if streamon fails

From driver if we call streamoff without streamon
successful, the streamoff will be timed out and
it will invoke msm_vidc_inst_timeout, which will
change the core state to ERR and FW unload will
happen unneccessarly.

Change-Id: Iaec6c2de086df53c379d5ec991b22b393d3c9153
Signed-off-by: Ankush Mitra <[email protected]>
Ankush Mitra vor 2 Jahren
Ursprung
Commit
9438113c3f
2 geänderte Dateien mit 0 neuen und 2 gelöschten Zeilen
  1. 0 1
      driver/vidc/src/msm_vdec.c
  2. 0 1
      driver/vidc/src/msm_venc.c

+ 0 - 1
driver/vidc/src/msm_vdec.c

@@ -1577,7 +1577,6 @@ int msm_vdec_streamon_input(struct msm_vidc_inst *inst)
 
 error:
 	i_vpr_e(inst, "%s: failed\n", __func__);
-	msm_vdec_streamoff_input(inst);
 	return rc;
 }
 

+ 0 - 1
driver/vidc/src/msm_venc.c

@@ -934,7 +934,6 @@ int msm_venc_streamon_input(struct msm_vidc_inst *inst)
 
 error:
 	i_vpr_e(inst, "%s: failed\n", __func__);
-	msm_venc_streamoff_input(inst);
 	return rc;
 }