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

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

mhi: core: add support for arm 32-bit compilation



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

CRs-Fixed: 2478833
Change-Id: I3831959c565a625371316261dbe94682ba362e1f
Acked-by: default avatarBhaumik Vasav Bhatt <bbhatt@qti.qualcomm.com>
Signed-off-by: default avatarSujeev Dias <sdias@codeaurora.org>
parent 1bbe1abe
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -227,9 +227,9 @@ extern struct bus_type mhi_bus_type;

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

struct mhi_event_ctxt {
	u32 reserved : 8;