Commit 45a2d58e authored by Harry Wentland's avatar Harry Wentland Committed by Alex Deucher
Browse files

drm/amd/display: Fix 64-bit division in hwss_edp_power_control

parent 5422a28f
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -857,7 +857,7 @@ void hwss_edp_power_control(
					dm_get_elapse_time_in_ns(
							ctx,
							current_ts,
							link->link_trace.time_stamp.edp_poweroff) / 1000000;
							div64_u64(link->link_trace.time_stamp.edp_poweroff, 1000000));
			unsigned long long wait_time_ms = 0;

			/* max 500ms from LCDVDD off to on */