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

Commit 01da8f0b authored by Niraj Ghadiali's avatar Niraj Ghadiali
Browse files

msm: isp: Initialize debug_state variable



Initializing debug_state variable properly to avoid
improper use of it.

Change-Id: Ibe1da70f3b16681ee8138f829470be5c0ad39d59
Signed-off-by: default avatarNiraj Ghadiali <nirajg@codeaurora.org>
parent 29042a19
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1325,7 +1325,7 @@ static int msm_isp_buf_mgr_debug(struct msm_isp_buf_mgr *buf_mgr,
	uint32_t debug_start_addr = 0;
	uint32_t debug_end_addr = 0;
	uint32_t debug_frame_id = 0;
	enum msm_isp_buffer_state debug_state;
	enum msm_isp_buffer_state debug_state = MSM_ISP_BUFFER_STATE_UNUSED;
	unsigned long flags;
	struct msm_isp_bufq *bufq = NULL;