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

Commit 294f39bb authored by Andrei Danaila's avatar Andrei Danaila Committed by Gerrit - the friendly Code Review server
Browse files

mhi: core: Initialize the client intmod caps



Initialize the client interrupt moderation capabilities to enable
correct marking of TRE moderation flags.

CRs-Fixed: 850216
Change-Id: Ic7a51fd1f089a847f225f23202183033352d0761
Signed-off-by: default avatarAndrei Danaila <adanaila@codeaurora.org>
parent 8e6fdb81
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -343,6 +343,9 @@ enum MHI_STATUS mhi_open_channel(struct mhi_client_handle *client_handle)
	client_handle->msi_vec =
		mhi_ctrl_seg->mhi_ec_list[
			client_handle->event_ring_index].mhi_msi_vector;
	client_handle->intmod_t = mhi_ctrl_seg->mhi_ec_list[
			client_handle->event_ring_index].mhi_intmodt;

	init_completion(&client_handle->chan_open_complete);
	ret_val = start_chan_sync(client_handle);