| .. | .. |
|---|
| 1 | +// SPDX-License-Identifier: ISC |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * Copyright (c) 2012-2017 Qualcomm Atheros, Inc. |
|---|
| 3 | 4 | * 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. |
|---|
| 16 | 5 | */ |
|---|
| 17 | 6 | |
|---|
| 18 | 7 | #include <linux/interrupt.h> |
|---|
| .. | .. |
|---|
| 595 | 584 | /* no need to handle HALP ICRs until next vote */ |
|---|
| 596 | 585 | wil->halp.handle_icr = false; |
|---|
| 597 | 586 | wil_dbg_irq(wil, "irq_misc: HALP IRQ invoked\n"); |
|---|
| 598 | | - wil6210_mask_halp(wil); |
|---|
| 587 | + wil6210_mask_irq_misc(wil, true); |
|---|
| 599 | 588 | complete(&wil->halp.comp); |
|---|
| 600 | 589 | } |
|---|
| 601 | 590 | } |
|---|
| .. | .. |
|---|
| 656 | 645 | return IRQ_HANDLED; |
|---|
| 657 | 646 | } |
|---|
| 658 | 647 | |
|---|
| 659 | | -/** |
|---|
| 660 | | - * thread IRQ handler |
|---|
| 661 | | - */ |
|---|
| 648 | +/* thread IRQ handler */ |
|---|
| 662 | 649 | static irqreturn_t wil6210_thread_irq(int irq, void *cookie) |
|---|
| 663 | 650 | { |
|---|
| 664 | 651 | struct wil6210_priv *wil = cookie; |
|---|