mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2025-01-26 07:44:27 +08:00
iwlwifi: pcie: reconfigure MSI-X HW on resume
When going into suspend, the HW configuration for MSI-X will
likely be lost. As a consequence, after waking up, all IRQ
causes will be mapped to interrupt 0, and as a consequence we
don't notice the interrupt because in most cases this is an
interrupt for a queue, and getting it doesn't read the other
cause registers.
Fixes: 2e5d4a8f61
("iwlwifi: pcie: Add new configuration to enable MSIX")
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
This commit is contained in:
parent
4f555e602b
commit
52848a79b9
@ -799,6 +799,9 @@ static int iwl_pci_resume(struct device *device)
|
||||
if (!trans->op_mode)
|
||||
return 0;
|
||||
|
||||
/* reconfigure the MSI-X mapping to get the correct IRQ for rfkill */
|
||||
iwl_pcie_conf_msix_hw(trans_pcie);
|
||||
|
||||
/*
|
||||
* Enable rfkill interrupt (in order to keep track of the rfkill
|
||||
* status). Must be locked to avoid processing a possible rfkill
|
||||
|
Loading…
Reference in New Issue
Block a user