msm:ais: Remove recursive locks
We are trying to acquire the same mutex lock twice in iotcl path and axi/stats start stream. Removed recursive locks. Change-Id: I331f79e5a387aa64600656f6377ba46385d11a83 Signed-off-by: Suprith Malligere Shankaregowda <supgow@codeaurora.org>
This commit is contained in:
parent
d803000f57
commit
84c40e8fb9
1 changed files with 0 additions and 4 deletions
|
@ -919,9 +919,7 @@ static long msm_isp_ioctl_unlocked(struct v4l2_subdev *sd,
|
|||
break;
|
||||
case VIDIOC_MSM_ISP_CFG_STREAM:
|
||||
mutex_lock(&vfe_dev->core_mutex);
|
||||
mutex_lock(&vfe_dev->buf_mgr->lock);
|
||||
rc = msm_isp_cfg_axi_stream(vfe_dev, arg);
|
||||
mutex_unlock(&vfe_dev->buf_mgr->lock);
|
||||
mutex_unlock(&vfe_dev->core_mutex);
|
||||
break;
|
||||
case VIDIOC_MSM_ISP_CFG_HW_STATE:
|
||||
|
@ -1022,9 +1020,7 @@ static long msm_isp_ioctl_unlocked(struct v4l2_subdev *sd,
|
|||
break;
|
||||
case VIDIOC_MSM_ISP_CFG_STATS_STREAM:
|
||||
mutex_lock(&vfe_dev->core_mutex);
|
||||
mutex_lock(&vfe_dev->buf_mgr->lock);
|
||||
rc = msm_isp_cfg_stats_stream(vfe_dev, arg);
|
||||
mutex_unlock(&vfe_dev->buf_mgr->lock);
|
||||
mutex_unlock(&vfe_dev->core_mutex);
|
||||
break;
|
||||
case VIDIOC_MSM_ISP_UPDATE_STATS_STREAM:
|
||||
|
|
Loading…
Add table
Reference in a new issue