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

Commit d2ac91df authored by Tharun Kumar Merugu's avatar Tharun Kumar Merugu
Browse files

soc: qcom: cdsprm: fix for 32-bit compilation error



Convert 64bit divide to a 32bit divide in cdsprm driver.

Change-Id: I005c2b4c93a7bed1ac8991a85687b988c259cb6e
Acked-by: default avatarSreekanth Gande <sgande@qti.qualcomm.com>
Signed-off-by: default avatarTharun Kumar Merugu <mtharu@codeaurora.org>
parent 570f6d4c
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -534,7 +534,7 @@ static void process_delayed_rm_request(struct work_struct *work)
			(curr_timestamp < timestamp)) {
		if ((timestamp - curr_timestamp) <
		(gcdsprm.qos_max_ms * SYS_CLK_TICKS_PER_MS))
			time_ms = (timestamp - curr_timestamp) /
			time_ms = ((unsigned int)(timestamp - curr_timestamp)) /
						SYS_CLK_TICKS_PER_MS;
		else
			break;