]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
iwlwifi: mvm: fix force NMI for 8000
authorEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Mon, 9 Mar 2015 10:37:59 +0000 (12:37 +0200)
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Thu, 12 Mar 2015 07:57:45 +0000 (09:57 +0200)
The newer devices will enable a new register for this
(DEVICE_SET_NMI_8000B_REG), but the interrupt handler
isn't wired yet.
Keep the old register for now.

Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
drivers/net/wireless/iwlwifi/iwl-io.c

index 03250a45272eba7185851d74bc90d6a6863d664d..78cac43e2bcd163997006065d112b1a61a6f6643 100644 (file)
@@ -201,6 +201,8 @@ void iwl_force_nmi(struct iwl_trans *trans)
        } else {
                iwl_write_prph(trans, DEVICE_SET_NMI_8000B_REG,
                               DEVICE_SET_NMI_8000B_VAL);
+               iwl_write_prph(trans, DEVICE_SET_NMI_REG,
+                              DEVICE_SET_NMI_VAL_DRV);
        }
 }
 IWL_EXPORT_SYMBOL(iwl_force_nmi);