Explorar o código

Merge "video: driver: report system error when packet validation fails"

qctecmdr %!s(int64=4) %!d(string=hai) anos
pai
achega
6f7a39d1d4
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      driver/vidc/src/venus_hfi_response.c

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

@@ -1655,7 +1655,7 @@ int handle_response(struct msm_vidc_core *core, void *response)
 	rc = validate_hdr_packet(core, hdr, __func__);
 	if (rc) {
 		d_vpr_e("%s: hdr pkt validation failed\n", __func__);
-		return -EINVAL;
+		return handle_system_error(core, NULL);
 	}
 
 	if (!hdr->session_id)