提交 605db27f 编写于 作者: B Brian Norris 提交者: Kalle Valo

mwifiex: pcie: remove unnecessary masks

After removing the interrupt loop in commit 5d5ddb5e ("mwifiex:
pcie: don't loop/retry interrupt status checks"), we don't need to keep
track of the cleared interrupts (actually, we didn't need to do that
before, but we *really* don't need to now).
Signed-off-by: NBrian Norris <briannorris@chromium.org>
Signed-off-by: NKalle Valo <kvalo@codeaurora.org>
上级 463df471
...@@ -2473,28 +2473,24 @@ static int mwifiex_process_pcie_int(struct mwifiex_adapter *adapter) ...@@ -2473,28 +2473,24 @@ static int mwifiex_process_pcie_int(struct mwifiex_adapter *adapter)
} }
if (pcie_ireg & HOST_INTR_DNLD_DONE) { if (pcie_ireg & HOST_INTR_DNLD_DONE) {
pcie_ireg &= ~HOST_INTR_DNLD_DONE;
mwifiex_dbg(adapter, INTR, "info: TX DNLD Done\n"); mwifiex_dbg(adapter, INTR, "info: TX DNLD Done\n");
ret = mwifiex_pcie_send_data_complete(adapter); ret = mwifiex_pcie_send_data_complete(adapter);
if (ret) if (ret)
return ret; return ret;
} }
if (pcie_ireg & HOST_INTR_UPLD_RDY) { if (pcie_ireg & HOST_INTR_UPLD_RDY) {
pcie_ireg &= ~HOST_INTR_UPLD_RDY;
mwifiex_dbg(adapter, INTR, "info: Rx DATA\n"); mwifiex_dbg(adapter, INTR, "info: Rx DATA\n");
ret = mwifiex_pcie_process_recv_data(adapter); ret = mwifiex_pcie_process_recv_data(adapter);
if (ret) if (ret)
return ret; return ret;
} }
if (pcie_ireg & HOST_INTR_EVENT_RDY) { if (pcie_ireg & HOST_INTR_EVENT_RDY) {
pcie_ireg &= ~HOST_INTR_EVENT_RDY;
mwifiex_dbg(adapter, INTR, "info: Rx EVENT\n"); mwifiex_dbg(adapter, INTR, "info: Rx EVENT\n");
ret = mwifiex_pcie_process_event_ready(adapter); ret = mwifiex_pcie_process_event_ready(adapter);
if (ret) if (ret)
return ret; return ret;
} }
if (pcie_ireg & HOST_INTR_CMD_DONE) { if (pcie_ireg & HOST_INTR_CMD_DONE) {
pcie_ireg &= ~HOST_INTR_CMD_DONE;
if (adapter->cmd_sent) { if (adapter->cmd_sent) {
mwifiex_dbg(adapter, INTR, mwifiex_dbg(adapter, INTR,
"info: CMD sent Interrupt\n"); "info: CMD sent Interrupt\n");
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册