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

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

Merge "msm: camera: Fix long overflow on the pix clk"

parents aee572a5 bc78bdbc
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -1057,8 +1057,8 @@ static int msm_isp_update_stream_bandwidth(struct vfe_device *vfe_dev)
	if (num_pix_streams > 0)
		total_pix_bandwidth = total_pix_bandwidth /
			num_pix_streams * (num_pix_streams - 1) +
			axi_data->src_info[VFE_PIX_0].pixel_clock *
			ISP_DEFAULT_FORMAT_FACTOR / ISP_Q2;
			((unsigned long)axi_data->src_info[VFE_PIX_0].
			pixel_clock) * ISP_DEFAULT_FORMAT_FACTOR / ISP_Q2;
	total_bandwidth = total_pix_bandwidth + total_rdi_bandwidth;

	rc = msm_isp_update_bandwidth(ISP_VFE0 + vfe_dev->pdev->id,