]> git.baikalelectronics.ru Git - kernel.git/commit
iwlwifi: mvm: add some missing iwl_mvm_ref_sync() calls
authorEliad Peller <eliad@wizery.com>
Tue, 1 Jul 2014 15:38:38 +0000 (18:38 +0300)
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Mon, 21 Jul 2014 07:43:13 +0000 (10:43 +0300)
commitc03908693f4709d3f437a2143e2a576acd73b39a
treed8511410c9fcdb97ad4b06790b63d77f0c08bfbf
parentaa21dd67b76e81877199314393452ae41db79d10
iwlwifi: mvm: add some missing iwl_mvm_ref_sync() calls

Add iwl_mvm_ref_sync() calls (with new ref types) to
flows that might access the device directly.

These calls make sure the device is out of d0i3,
and the bus is available for direct access.

Since some of these functions are reentrant, convert
the refs_bitmap to a ref counter, so multiple refs
of the same type could be taken concurrently.

Signed-off-by: Eliad Peller <eliadx.peller@intel.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
drivers/net/wireless/iwlwifi/mvm/debugfs.c
drivers/net/wireless/iwlwifi/mvm/mac80211.c
drivers/net/wireless/iwlwifi/mvm/mvm.h
drivers/net/wireless/iwlwifi/mvm/ops.c
drivers/net/wireless/iwlwifi/mvm/tt.c