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: Chaitanya Pratapa <quic_cpratapa@quicinc.com>
This commit is contained in:
Chaitanya Pratapa 2023-01-12 15:05:46 -08:00 committed by Gerrit - the friendly Code Review server
parent 2bc71143d2
commit 56677b44e4

View file

@ -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;
};
/**