Browse Source

Merge "video: driver: Check failures during session close"

qctecmdr 4 years ago
parent
commit
94ea0d5c5c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      driver/vidc/src/venus_hfi.c

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

@@ -3134,7 +3134,7 @@ int venus_hfi_session_close(struct msm_vidc_inst *inst)
 				NULL,
 				NULL,
 				0);
 				0);
 	if (!rc)
 	if (!rc)
-		__iface_cmdq_write(inst->core, inst->packet);
+		rc = __iface_cmdq_write(inst->core, inst->packet);
 
 
 	return rc;
 	return rc;
 }
 }