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

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

Merge "msm: mdss: fix 32-bit compilation errors in HDMI driver"

parents 3e0ae119 f5de6bc8
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -475,7 +475,7 @@ static int hdmi_tx_get_vic_from_panel_info(struct hdmi_tx_ctrl *hdmi_ctrl,
			timing.active_v, timing.back_porch_v,
			timing.active_v, timing.back_porch_v,
			timing.front_porch_v, timing.pulse_width_v, v_total);
			timing.front_porch_v, timing.pulse_width_v, v_total);


		timing.pixel_freq = pinfo->clk_rate / 1000;
		timing.pixel_freq = ((unsigned long int)pinfo->clk_rate / 1000);
		if (h_total && v_total) {
		if (h_total && v_total) {
			timing.refresh_rate = ((timing.pixel_freq * 1000) /
			timing.refresh_rate = ((timing.pixel_freq * 1000) /
				(h_total * v_total)) * 1000;
				(h_total * v_total)) * 1000;