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

Commit 9abc0db3 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "msm: isp: Add different flags in spin lock"

parents ee794307 9396642f
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -1452,7 +1452,7 @@ void msm_isp_axi_cfg_update(struct vfe_device *vfe_dev,
{
	int i, j;
	uint32_t update_state;
	unsigned long flags;
	unsigned long flags, flags1;
	struct msm_vfe_axi_shared_data *axi_data = &vfe_dev->axi_data;
	struct msm_vfe_axi_stream *stream_info;
	int num_stream = 0;
@@ -1471,7 +1471,7 @@ void msm_isp_axi_cfg_update(struct vfe_device *vfe_dev,
			!stream_info->controllable_output) ||
			stream_info->state == AVAILABLE)
			continue;
		spin_lock_irqsave(&stream_info->lock, flags);
		spin_lock_irqsave(&stream_info->lock, flags1);
		if (stream_info->state == PAUSING) {
			/*AXI Stopped, apply update*/
			stream_info->state = PAUSED;
@@ -1485,7 +1485,7 @@ void msm_isp_axi_cfg_update(struct vfe_device *vfe_dev,
		} else if (stream_info->state == RESUMING) {
			msm_isp_update_dual_HW_axi(vfe_dev, stream_info);
		}
		spin_unlock_irqrestore(&stream_info->lock, flags);
		spin_unlock_irqrestore(&stream_info->lock, flags1);
	}
	spin_unlock_irqrestore(&vfe_dev->common_data->common_dev_data_lock,
		flags);