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

Commit 635bd3e0 authored by Qiwei Liu's avatar Qiwei Liu Committed by Tapas Kumar Kundu
Browse files

msm: vidc: fix a return value uninitialized issue



Fix the return value uninitialized issue in flush_buffer.

Change-Id: Ie1ee94877e788dd8a4454ff8f96f566bc9c94902
Signed-off-by: default avatarTapas Kumar Kundu <tkundu@codeaurora.org>
parent 9ad222c2
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -6218,7 +6218,6 @@ struct msm_vidc_buffer *msm_comm_get_buffer_using_device_planes(
int msm_comm_flush_vidc_buffer(struct msm_vidc_inst *inst,
		struct msm_vidc_buffer *mbuf)
{
	int rc;
	struct vb2_buffer *vb;
	u32 port;

@@ -6254,7 +6253,7 @@ int msm_comm_flush_vidc_buffer(struct msm_vidc_inst *inst,
	}
	mutex_unlock(&inst->bufq[port].lock);

	return rc;
	return 0;
}

int msm_comm_qbuf_cache_operations(struct msm_vidc_inst *inst,