]> git.baikalelectronics.ru Git - kernel.git/commit
iwlwifi: pcie: wait longer after device reset
authorEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Tue, 27 Jun 2017 09:29:26 +0000 (12:29 +0300)
committerLuca Coelho <luciano.coelho@intel.com>
Thu, 29 Jun 2017 18:02:51 +0000 (21:02 +0300)
commitf666970ecd5405f34174b6a22cdbb519634d33d1
treefa7892fc9ef80b0898b0fc6faba4d6b79633ec25
parent53658f5e408ed63aeac247bcc6a8c3e05c91132b
iwlwifi: pcie: wait longer after device reset

The newest devices need a longer time to reset because of
their more complex hardware. Wait 5ms after device reset.
Consolidate all the places that reset the device in the
PCIe transport to avoid future bugs.

While at it, unify the flow to use set_bit instead of full
write as requested by the hardware designers.

Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
drivers/net/wireless/intel/iwlwifi/mvm/utils.c
drivers/net/wireless/intel/iwlwifi/pcie/internal.h
drivers/net/wireless/intel/iwlwifi/pcie/trans-gen2.c
drivers/net/wireless/intel/iwlwifi/pcie/trans.c