Skip to content

Commit

Permalink
iwlwifi: mvm: allow setting the thermal state in D0i3
Browse files Browse the repository at this point in the history
We were not allowing the thermal state to be set when we were in D0i3
mode.  It was not very clearly specified how it should work, but now a
decision was made to allow the state to be set in D0i3 (which will
cause a brief wake up).  Remove the check in the set_cur_state
operation.

Signed-off-by: Luca Coelho <[email protected]>
Signed-off-by: Emmanuel Grumbach <[email protected]>
  • Loading branch information
lucacoelho authored and egrumbach committed Mar 30, 2016
1 parent d2515a9 commit 489c546
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions drivers/net/wireless/intel/iwlwifi/mvm/tt.c
Original file line number Diff line number Diff line change
Expand Up @@ -801,9 +801,6 @@ static int iwl_mvm_tcool_set_cur_state(struct thermal_cooling_device *cdev,
if (!mvm->ucode_loaded || !(mvm->cur_ucode == IWL_UCODE_REGULAR))
return -EIO;

if (test_bit(IWL_MVM_STATUS_IN_D0I3, &mvm->status))
return -EBUSY;

mutex_lock(&mvm->mutex);

if (new_state >= ARRAY_SIZE(iwl_mvm_cdev_budgets)) {
Expand Down

0 comments on commit 489c546

Please sign in to comment.