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

Commit 96664302 authored by Sujeev Dias's avatar Sujeev Dias
Browse files

mhi: cntrl: qcom: add arm 32-bit compilation support



Add support for arm 32-bit compilation for time synchronization
support.

CRs-Fixed: 2478833
Change-Id: I76c8cb08d3ee8572cd6ddd0cbd7dfd0ded510746
Acked-by: default avatarBhaumik Vasav Bhatt <bbhatt@qti.qualcomm.com>
Signed-off-by: default avatarSujeev Dias <sdias@codeaurora.org>
parent f1761499
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -20,7 +20,7 @@

/* timesync time calculations */
#define REMOTE_TICKS_TO_US(x) (div_u64((x) * 100ULL, \
			       (mhi_cntrl->remote_timer_freq / 10000ULL)))
			       div_u64(mhi_cntrl->remote_timer_freq, 10000ULL)))
#define REMOTE_TICKS_TO_SEC(x) (div_u64((x), \
				mhi_cntrl->remote_timer_freq))
#define REMOTE_TIME_REMAINDER_US(x) (REMOTE_TICKS_TO_US((x)) % \