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

Commit 56677b44 authored by Chaitanya Pratapa's avatar Chaitanya Pratapa Committed by Gerrit - the friendly Code Review server
Browse files

msm: ipa: Add disable_msi flag



In certain use cases, host doesn't expect MSI
interrupts from device. Provide configuration support
to disable MSI in case host doesn't support it.

Change-Id: Ia629054024ad0090e5b7039dda99dbe4abe40745
Signed-off-by: default avatarChaitanya Pratapa <quic_cpratapa@quicinc.com>
parent 2bc71143
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -62,6 +62,7 @@ struct ipa_mhi_msi_info {
 * @notify: client callback
 * @priv: client private data to be provided in client callback
 * @test_mode: flag to indicate if IPA MHI is in unit test mode
 * @disable_msi: flag to indicate if MSI is disabled.
 */
struct ipa_mhi_init_params {
	struct ipa_mhi_msi_info msi;
@@ -72,6 +73,7 @@ struct ipa_mhi_init_params {
	mhi_client_cb notify;
	void *priv;
	bool test_mode;
	bool disable_msi;
};

/**