diff options
author | Eliad Peller <eliad@wizery.com> | 2015-07-16 20:17:42 +0300 |
---|---|---|
committer | Emmanuel Grumbach <emmanuel.grumbach@intel.com> | 2015-08-04 10:17:32 +0300 |
commit | 18f5a374b3db33720dc8c66cb94947585904d6c6 (patch) | |
tree | 6a1d8544f626504a8912e02af05a67f0df0b7a07 /drivers/net/wireless/iwlwifi/iwl-csr.h | |
parent | 6dfb36c89dc21c2c77a4b8ea48679cbb15d158b4 (diff) | |
download | linux-18f5a374b3db33720dc8c66cb94947585904d6c6.tar.gz linux-18f5a374b3db33720dc8c66cb94947585904d6c6.tar.bz2 linux-18f5a374b3db33720dc8c66cb94947585904d6c6.zip |
iwlwifi: pcie: reset write pointer on ict reset
Since the CSR_DRAM_INIT_TBL_WRITE_POINTER bit wasn't set
on ict reset, in some flows (like disable ict followed by
immediate reset ict) the driver and hardware went out
of sync (the driver cleared the ict_index, while the hw
kept it intact).
Fix it by setting the flag when resetting ict.
Signed-off-by: Eliad Peller <eliad@wizery.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-csr.h')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-csr.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-csr.h b/drivers/net/wireless/iwlwifi/iwl-csr.h index faa17f2e352a..fa716618735e 100644 --- a/drivers/net/wireless/iwlwifi/iwl-csr.h +++ b/drivers/net/wireless/iwlwifi/iwl-csr.h @@ -422,6 +422,7 @@ enum { /* DRAM INT TABLE */ #define CSR_DRAM_INT_TBL_ENABLE (1 << 31) +#define CSR_DRAM_INIT_TBL_WRITE_POINTER (1 << 28) #define CSR_DRAM_INIT_TBL_WRAP_CHECK (1 << 27) /* |