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

Commit eb7faee9 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: Add null check in msm_venc_stop_streaming"

parents 71a25384 d4175037
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -1566,7 +1566,8 @@ static void msm_venc_stop_streaming(struct vb2_queue *q)
	struct msm_vidc_inst *inst;
	int rc = 0;
	if (!q || !q->drv_priv) {
		dprintk(VIDC_ERR, "Invalid input, q = %p\n", q);
		dprintk(VIDC_ERR, "%s - Invalid input, q = %p\n", __func__, q);
		return;
	}

	inst = q->drv_priv;