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

Commit be78c8df 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: isp: Use proper type while comparing negative values."

parents 1e733ca9 f6ac88b6
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -268,7 +268,8 @@ int msm_isp_get_clk_info(struct vfe_device *vfe_dev,
		return rc;
	}
	for (i = 0; i < count; i++) {
		vfe_clk_info[i].clk_rate = (rates[i] == 0) ? -1 : rates[i];
		vfe_clk_info[i].clk_rate =
			(rates[i] == 0) ? (long)-1 : rates[i];
		ISP_DBG("clk_rate[%d] = %ld\n", i, vfe_clk_info[i].clk_rate);
	}
	vfe_dev->num_clk = count;