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

Commit 19679606 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: do not check for session supported in executing state"

parents d626dad9 9d0c026e
Loading
Loading
Loading
Loading
+0 −7
Original line number Diff line number Diff line
@@ -2632,13 +2632,6 @@ int msm_comm_qbuf(struct vb2_buffer *vb)
			mutex_unlock(&inst->sync_lock);
	} else {
		int64_t time_usec = timeval_to_ns(&vb->v4l2_buf.timestamp);

		rc = msm_vidc_check_session_supported(inst);
		if (rc) {
			dprintk(VIDC_ERR,
				"%s: session not supported\n", __func__);
			goto err_no_mem;
		}
		do_div(time_usec, NSEC_PER_USEC);
		memset(&frame_data, 0 , sizeof(struct vidc_frame_data));
		frame_data.alloc_len = vb->v4l2_planes[0].length;