]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit - drivers/net/wireless/intel/iwlwifi/pcie/trans.c
iwlwifi: pcie: don't disable the busmaster DMA clock for family 8000
authorAvri Altman <avri.altman@intel.com>
Wed, 29 Apr 2015 02:11:10 +0000 (05:11 +0300)
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Fri, 15 May 2015 07:34:24 +0000 (10:34 +0300)
commit1aa02b5a33506387828f77eb607342a7dfa6beff
tree522ea3c662d76d1adc8000c912027d58ae783bb6
parented65918735a50e1002d856749d3f1f5072f92cfa
iwlwifi: pcie: don't disable the busmaster DMA clock for family 8000

Disabling the clocks is a standard procedure while stopping the
device. On family 8000 however, disabling the bus master DMA clock
increases the NIC's power consumption.

To fix this, skip this call if the device family is
IWL_DEVICE_FAMILY_8000.

Signed-off-by: Avri Altman <avri.altman@intel.com>
Reviewed-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
drivers/net/wireless/iwlwifi/pcie/trans.c