lkml.org 
[lkml]   [2014]   [Jan]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    Subject[PATCH 2/3] ath10k: Disable MSI in case IRQ configuration is unknown
    In case IRQ configuration is unknown possibly enabled MSIs
    are left enabled in ath10k_pci_deinit_irq(). This update
    fixes the described misbehaviour.

    Signed-off-by: Alexander Gordeev <agordeev@redhat.com>
    ---
    drivers/net/wireless/ath/ath10k/pci.c | 2 ++
    1 files changed, 2 insertions(+), 0 deletions(-)

    diff --git a/drivers/net/wireless/ath/ath10k/pci.c b/drivers/net/wireless/ath/ath10k/pci.c
    index 6525e1f..563ce77 100644
    --- a/drivers/net/wireless/ath/ath10k/pci.c
    +++ b/drivers/net/wireless/ath/ath10k/pci.c
    @@ -2480,6 +2480,8 @@ static int ath10k_pci_deinit_irq(struct ath10k *ar)
    case MSI_NUM_REQUEST:
    pci_disable_msi(ar_pci->pdev);
    return 0;
    + default:
    + pci_disable_msi(ar_pci->pdev);
    }

    ath10k_warn("unknown irq configuration upon deinit\n");
    --
    1.7.7.6
    --
    Regards,
    Alexander Gordeev
    agordeev@redhat.com


    \
     
     \ /
      Last update: 2014-01-30 15:21    [W:2.817 / U:0.008 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site