diff options
| author | Srikanth Uyyala <suyyala@codeaurora.org> | 2017-07-19 15:28:54 +0530 |
|---|---|---|
| committer | Srikanth Uyyala <suyyala@codeaurora.org> | 2017-07-20 09:59:23 +0530 |
| commit | 3b0328c5a5107d63c94d9a242001edb6919069c9 (patch) | |
| tree | 9dcfc1c43626d285848d7834fd9c937e2a44a6d0 | |
| parent | 20e0861617d2104eb68405b7b76b641316ad5ccc (diff) | |
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: Srikanth Uyyala <suyyala@codeaurora.org>
| -rw-r--r-- | drivers/media/platform/msm/camera_v2/isp/msm_isp_axi_util.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/platform/msm/camera_v2/isp/msm_isp_axi_util.h b/drivers/media/platform/msm/camera_v2/isp/msm_isp_axi_util.h index a8d4cfb43927..0f029c0d5178 100644 --- a/drivers/media/platform/msm/camera_v2/isp/msm_isp_axi_util.h +++ b/drivers/media/platform/msm/camera_v2/isp/msm_isp_axi_util.h @@ -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; |
