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

Commit 3b0328c5 authored by Srikanth Uyyala's avatar Srikanth Uyyala
Browse files

msm: isp: fix the invalid type conversion



stream_idx cannot take negative value and wrongly type casted to int.
Use uint32_t to fix this issue.

Change-Id: I7f306d3a24fc8f73aae91c0514b3747592466404
Signed-off-by: default avatarSrikanth Uyyala <suyyala@codeaurora.org>
parent 20e08616
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -136,7 +136,7 @@ static inline void msm_isp_cfg_stream_scratch(
}

static inline struct msm_vfe_axi_stream *msm_isp_get_stream_common_data(
			struct vfe_device *vfe_dev, int stream_idx)
			struct vfe_device *vfe_dev, uint32_t stream_idx)
{
	struct msm_vfe_common_dev_data *common_data = vfe_dev->common_data;
	struct msm_vfe_axi_stream *stream_info;