Messages in this thread Patch in this message | | | From | Bhaumik Bhatt <> | Subject | [PATCH v1 3/4] ath11k: Use enum entry for event ring priority | Date | Thu, 17 Jun 2021 14:30:34 -0700 |
| |
Instead of using a default event ring priority of 1, use the enum provided and set it to default.
Signed-off-by: Bhaumik Bhatt <bbhatt@codeaurora.org> --- drivers/net/wireless/ath/ath11k/mhi.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/net/wireless/ath/ath11k/mhi.c b/drivers/net/wireless/ath/ath11k/mhi.c index 27b394d..b7864fc 100644 --- a/drivers/net/wireless/ath/ath11k/mhi.c +++ b/drivers/net/wireless/ath/ath11k/mhi.c @@ -86,7 +86,7 @@ static struct mhi_event_config ath11k_mhi_events_qca6390[] = { .irq_moderation_ms = 1, .irq = 2, .mode = MHI_DB_BRST_DISABLE, - .priority = 1, + .priority = MHI_ER_PRIORITY_DEFAULT, .hardware_event = false, .client_managed = false, .offload_channel = false, @@ -179,7 +179,7 @@ static struct mhi_event_config ath11k_mhi_events_qcn9074[] = { .irq_moderation_ms = 1, .irq = 2, .mode = MHI_DB_BRST_DISABLE, - .priority = 1, + .priority = MHI_ER_PRIORITY_DEFAULT, .hardware_event = false, .client_managed = false, .offload_channel = false, -- The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum, a Linux Foundation Collaborative Project
| |