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

Commit efc40bf7 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: Check for VB2_BUF_STATE_ACTIVE state"

parents a4a039e8 58c8c226
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -2272,6 +2272,8 @@ struct vb2_buffer *msm_comm_get_vb_using_vidc_buffer(
	mutex_lock(&inst->bufq[port].lock);
	found = false;
	list_for_each_entry(vb, &q->queued_list, queued_entry) {
		if (vb->state != VB2_BUF_STATE_ACTIVE)
			continue;
		if (msm_comm_compare_vb2_planes(inst, mbuf, vb)) {
			found = true;
			break;