diff mbox series

[v1,3/4] ath11k: Use enum entry for event ring priority

Message ID 1623965435-30224-4-git-send-email-bbhatt@codeaurora.org
State New
Headers show
Series None | expand

Commit Message

Bhaumik Bhatt June 17, 2021, 9:30 p.m. UTC
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 mbox series

Patch

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,