hc
2023-12-09 b22da3d8526a935aa31e086e63f60ff3246cb61c
kernel/drivers/net/wireless/ath/wil6210/interrupt.c
....@@ -1,18 +1,7 @@
1
+// SPDX-License-Identifier: ISC
12 /*
23 * Copyright (c) 2012-2017 Qualcomm Atheros, Inc.
34 * Copyright (c) 2018-2019, The Linux Foundation. All rights reserved.
4
- *
5
- * Permission to use, copy, modify, and/or distribute this software for any
6
- * purpose with or without fee is hereby granted, provided that the above
7
- * copyright notice and this permission notice appear in all copies.
8
- *
9
- * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
10
- * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
11
- * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
12
- * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
13
- * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
14
- * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
15
- * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
165 */
176
187 #include <linux/interrupt.h>
....@@ -595,7 +584,7 @@
595584 /* no need to handle HALP ICRs until next vote */
596585 wil->halp.handle_icr = false;
597586 wil_dbg_irq(wil, "irq_misc: HALP IRQ invoked\n");
598
- wil6210_mask_halp(wil);
587
+ wil6210_mask_irq_misc(wil, true);
599588 complete(&wil->halp.comp);
600589 }
601590 }
....@@ -656,9 +645,7 @@
656645 return IRQ_HANDLED;
657646 }
658647
659
-/**
660
- * thread IRQ handler
661
- */
648
+/* thread IRQ handler */
662649 static irqreturn_t wil6210_thread_irq(int irq, void *cookie)
663650 {
664651 struct wil6210_priv *wil = cookie;