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

Commit c52f9e7a 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: Fix hang due to incorrect buffer unmap"

parents 22379a46 195000d5
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -914,7 +914,7 @@ int msm_vidc_dqbuf(void *instance, struct v4l2_buffer *b)
	if (rc)
		return rc;

	for (i = 0; i < b->length; i++) {
	for (i = b->length - 1; i >= 0 ; i--) {
		if (EXTRADATA_IDX(b->length) &&
			(i == EXTRADATA_IDX(b->length)) &&
			!b->m.planes[i].m.userptr) {