]> git.baikalelectronics.ru Git - kernel.git/commit
iwlwifi: SCD_INT_MSK is obsolete - don't update it
authorEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Mon, 28 May 2012 13:33:48 +0000 (16:33 +0300)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 6 Jun 2012 11:21:17 +0000 (13:21 +0200)
commit01b355376b051cb3acb888081ebe6680906920fc
tree7c281d1f88b54073662aef58accf8bc6bd417295
parentb2c3f81ae2633074d27805b82971012f5cf205be
iwlwifi: SCD_INT_MSK is obsolete - don't update it

The scheduler can issue an interrupt when moving the read
pointer. To get this interrupt, the driver needs to
configure what queue can issue an interrupt when its read
pointer moves in the scheduler: this is the SCD_INT_MSK.
The driver also needs to enable the interrupt in
CSR_INT_MASK (bit CSR_INT_BIT_SCD).

Since we don't enable the scheduler interrupt in
CSR_INT_MASK, there is no point in requesting an interrupt
from the scheduler: it will be masked anyway. So don't
configure the scheduler to issue interrupts at all.

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