Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a35e8637 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "msm: vidc: ignore processing responses in invalid state"

parents 0c628be4 035271ee
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -3645,6 +3645,12 @@ static void venus_hfi_core_work_handler(struct work_struct *work)
		i < num_responses; ++i) {
		struct msm_vidc_cb_info *r = &device->response_pkt[i];

		if (!__core_in_valid_state(device)) {
			dprintk(VIDC_ERR,
				"Ignore responses from %d to %d as device is in invalid state",
				(i + 1), num_responses);
			break;
		}
		device->callback(r->response_type, &r->response);
	}