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

Commit 3e4571e8 authored by Meera Gande's avatar Meera Gande
Browse files

msm: isp: Fix for few code warnings



Due to uninitialized variables being used warnings
are reported.Made changes to initialize variables
before usage.

CRs-Fixed: 994269
Change-Id: I5288ec5fb21bf2c5b0b0fbf12b8cf9ec5025b8b2
Signed-off-by: default avatarMeera Gande <mgande@codeaurora.org>
parent 182fc241
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -1705,7 +1705,7 @@ static int msm_isp_process_done_buf(struct vfe_device *vfe_dev,
	struct msm_vfe_axi_stream *stream_info, struct msm_isp_buffer *buf,
	struct timeval *time_stamp, uint32_t frame_id)
{
	int rc, ret;
	int rc = 0, ret = 0;
	unsigned long flags;
	struct msm_isp_event_data buf_event;
	uint32_t stream_idx = HANDLE_TO_IDX(stream_info->stream_handle);
@@ -2402,7 +2402,7 @@ static int msm_isp_update_dual_HW_ms_info_at_stop(
static int msm_isp_update_dual_HW_axi(struct vfe_device *vfe_dev,
			struct msm_vfe_axi_stream *stream_info)
{
	int rc, vfe_id;
	int rc = 0, vfe_id;
	uint32_t stream_idx = HANDLE_TO_IDX(stream_info->stream_handle);
	struct dual_vfe_resource *dual_vfe_res = NULL;