iwlwifi: mvm: add debugfs hook to take an mvm ref
authorEliad Peller <eliad@wizery.com>
Mon, 11 Nov 2013 16:56:35 +0000 (18:56 +0200)
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Mon, 3 Feb 2014 20:23:41 +0000 (22:23 +0200)
commit0eb8365305d43bdfde9e064dec4d82c743fa5c38
treecc91ca4447692484be394a90b5a30cee42959db9
parent37577fe2499a4d83c39910702959832baf589bab
iwlwifi: mvm: add debugfs hook to take an mvm ref

Support taking an mvm ref (and preventing D0i3) by
writing '1' into the d0i3_refs debugfs file.

The reference can be unref by writing 0 to the same
file.

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/mvm.h