Loading drivers/media/platform/msm/camera_v2/isp/msm_isp.c +0 −1 Original line number Original line Diff line number Diff line Loading @@ -573,7 +573,6 @@ int vfe_hw_probe(struct platform_device *pdev) platform_set_drvdata(pdev, &vfe_dev->subdev.sd); platform_set_drvdata(pdev, &vfe_dev->subdev.sd); mutex_init(&vfe_dev->realtime_mutex); mutex_init(&vfe_dev->realtime_mutex); mutex_init(&vfe_dev->core_mutex); mutex_init(&vfe_dev->core_mutex); mutex_init(&vfe_dev->buf_mgr_mutex); spin_lock_init(&vfe_dev->tasklet_lock); spin_lock_init(&vfe_dev->tasklet_lock); spin_lock_init(&vfe_dev->shared_data_lock); spin_lock_init(&vfe_dev->shared_data_lock); spin_lock_init(&vfe_dev->reg_update_lock); spin_lock_init(&vfe_dev->reg_update_lock); Loading drivers/media/platform/msm/camera_v2/isp/msm_isp.h +0 −1 Original line number Original line Diff line number Diff line Loading @@ -665,7 +665,6 @@ struct vfe_device { struct completion stats_config_complete; struct completion stats_config_complete; struct mutex realtime_mutex; struct mutex realtime_mutex; struct mutex core_mutex; struct mutex core_mutex; struct mutex buf_mgr_mutex; spinlock_t shared_data_lock; spinlock_t shared_data_lock; spinlock_t reg_update_lock; spinlock_t reg_update_lock; spinlock_t tasklet_lock; spinlock_t tasklet_lock; Loading drivers/media/platform/msm/camera_v2/isp/msm_isp_util.c +2 −4 Original line number Original line Diff line number Diff line Loading @@ -965,9 +965,9 @@ static long msm_isp_ioctl_unlocked(struct v4l2_subdev *sd, /* fallthrough */ /* fallthrough */ case VIDIOC_MSM_ISP_DEQUEUE_BUF: { case VIDIOC_MSM_ISP_DEQUEUE_BUF: { /* fallthrough */ /* fallthrough */ mutex_lock(&vfe_dev->buf_mgr_mutex); mutex_lock(&vfe_dev->buf_mgr->lock); rc = msm_isp_proc_buf_cmd(vfe_dev->buf_mgr, cmd, arg); rc = msm_isp_proc_buf_cmd(vfe_dev->buf_mgr, cmd, arg); mutex_unlock(&vfe_dev->buf_mgr_mutex); mutex_unlock(&vfe_dev->buf_mgr->lock); break; break; } } case VIDIOC_MSM_ISP_RELEASE_BUF: { case VIDIOC_MSM_ISP_RELEASE_BUF: { Loading @@ -977,9 +977,7 @@ static long msm_isp_ioctl_unlocked(struct v4l2_subdev *sd, return rc; return rc; } } mutex_lock(&vfe_dev->buf_mgr->lock); mutex_lock(&vfe_dev->buf_mgr->lock); mutex_lock(&vfe_dev->buf_mgr_mutex); rc = msm_isp_proc_buf_cmd(vfe_dev->buf_mgr, cmd, arg); rc = msm_isp_proc_buf_cmd(vfe_dev->buf_mgr, cmd, arg); mutex_unlock(&vfe_dev->buf_mgr_mutex); mutex_unlock(&vfe_dev->buf_mgr->lock); mutex_unlock(&vfe_dev->buf_mgr->lock); break; break; } } Loading Loading
drivers/media/platform/msm/camera_v2/isp/msm_isp.c +0 −1 Original line number Original line Diff line number Diff line Loading @@ -573,7 +573,6 @@ int vfe_hw_probe(struct platform_device *pdev) platform_set_drvdata(pdev, &vfe_dev->subdev.sd); platform_set_drvdata(pdev, &vfe_dev->subdev.sd); mutex_init(&vfe_dev->realtime_mutex); mutex_init(&vfe_dev->realtime_mutex); mutex_init(&vfe_dev->core_mutex); mutex_init(&vfe_dev->core_mutex); mutex_init(&vfe_dev->buf_mgr_mutex); spin_lock_init(&vfe_dev->tasklet_lock); spin_lock_init(&vfe_dev->tasklet_lock); spin_lock_init(&vfe_dev->shared_data_lock); spin_lock_init(&vfe_dev->shared_data_lock); spin_lock_init(&vfe_dev->reg_update_lock); spin_lock_init(&vfe_dev->reg_update_lock); Loading
drivers/media/platform/msm/camera_v2/isp/msm_isp.h +0 −1 Original line number Original line Diff line number Diff line Loading @@ -665,7 +665,6 @@ struct vfe_device { struct completion stats_config_complete; struct completion stats_config_complete; struct mutex realtime_mutex; struct mutex realtime_mutex; struct mutex core_mutex; struct mutex core_mutex; struct mutex buf_mgr_mutex; spinlock_t shared_data_lock; spinlock_t shared_data_lock; spinlock_t reg_update_lock; spinlock_t reg_update_lock; spinlock_t tasklet_lock; spinlock_t tasklet_lock; Loading
drivers/media/platform/msm/camera_v2/isp/msm_isp_util.c +2 −4 Original line number Original line Diff line number Diff line Loading @@ -965,9 +965,9 @@ static long msm_isp_ioctl_unlocked(struct v4l2_subdev *sd, /* fallthrough */ /* fallthrough */ case VIDIOC_MSM_ISP_DEQUEUE_BUF: { case VIDIOC_MSM_ISP_DEQUEUE_BUF: { /* fallthrough */ /* fallthrough */ mutex_lock(&vfe_dev->buf_mgr_mutex); mutex_lock(&vfe_dev->buf_mgr->lock); rc = msm_isp_proc_buf_cmd(vfe_dev->buf_mgr, cmd, arg); rc = msm_isp_proc_buf_cmd(vfe_dev->buf_mgr, cmd, arg); mutex_unlock(&vfe_dev->buf_mgr_mutex); mutex_unlock(&vfe_dev->buf_mgr->lock); break; break; } } case VIDIOC_MSM_ISP_RELEASE_BUF: { case VIDIOC_MSM_ISP_RELEASE_BUF: { Loading @@ -977,9 +977,7 @@ static long msm_isp_ioctl_unlocked(struct v4l2_subdev *sd, return rc; return rc; } } mutex_lock(&vfe_dev->buf_mgr->lock); mutex_lock(&vfe_dev->buf_mgr->lock); mutex_lock(&vfe_dev->buf_mgr_mutex); rc = msm_isp_proc_buf_cmd(vfe_dev->buf_mgr, cmd, arg); rc = msm_isp_proc_buf_cmd(vfe_dev->buf_mgr, cmd, arg); mutex_unlock(&vfe_dev->buf_mgr_mutex); mutex_unlock(&vfe_dev->buf_mgr->lock); mutex_unlock(&vfe_dev->buf_mgr->lock); break; break; } } Loading