]> 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)
commit24f7ba795f9306a8ed58485e69bacfb8f0d134a3
treed8511410c9fcdb97ad4b06790b63d77f0c08bfbf
parente5291974a42b56d4b68d7f64d59b87351ceb52b6
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