[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1691747849-15385-1-git-send-email-quic_skananth@quicinc.com>
Date: Fri, 11 Aug 2023 02:57:08 -0700
From: Subramanian Ananthanarayanan <quic_skananth@...cinc.com>
To: manivannan.sadhasivam@...aro.org
Cc: helgaas@...nel.org, linux-pci@...r.kernel.org,
linux-arm-msm@...r.kernel.org, linux-kernel@...r.kernel.org,
quic_vbadigan@...cinc.com, quic_nitegupt@...cinc.com,
quic_skananth@...cinc.com, quic_ramkri@...cinc.com,
quic_parass@...cinc.com, krzysztof.kozlowski@...aro.org,
Manivannan Sadhasivam <mani@...nel.org>,
Jeffrey Hugo <quic_jhugo@...cinc.com>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Dan Carpenter <error27@...il.com>,
mhi@...ts.linux.dev (open list:MHI BUS)
Subject: [PATCH v1] bus: mhi: ep: Clear channel interrupts that are unmasked
Change is to avoid clearing of interrupts that could have been masked.
Signed-off-by: Subramanian Ananthanarayanan <quic_skananth@...cinc.com>
---
drivers/bus/mhi/ep/main.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/bus/mhi/ep/main.c b/drivers/bus/mhi/ep/main.c
index 6008818..a818781 100644
--- a/drivers/bus/mhi/ep/main.c
+++ b/drivers/bus/mhi/ep/main.c
@@ -867,7 +867,7 @@ static void mhi_ep_check_channel_interrupt(struct mhi_ep_cntrl *mhi_cntrl)
if (ch_int) {
mhi_ep_queue_channel_db(mhi_cntrl, ch_int, ch_idx);
mhi_ep_mmio_write(mhi_cntrl, MHI_CHDB_INT_CLEAR_n(i),
- mhi_cntrl->chdb[i].status);
+ ch_int);
}
}
}
--
2.7.4
Powered by blists - more mailing lists