Skip to content

Commit 489c546

Browse files
lucacoelhoegrumbach
authored andcommitted
iwlwifi: mvm: allow setting the thermal state in D0i3
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]>
1 parent d2515a9 commit 489c546

File tree

1 file changed

+0
-3
lines changed
  • drivers/net/wireless/intel/iwlwifi/mvm

1 file changed

+0
-3
lines changed

drivers/net/wireless/intel/iwlwifi/mvm/tt.c

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -801,9 +801,6 @@ static int iwl_mvm_tcool_set_cur_state(struct thermal_cooling_device *cdev,
801801
if (!mvm->ucode_loaded || !(mvm->cur_ucode == IWL_UCODE_REGULAR))
802802
return -EIO;
803803

804-
if (test_bit(IWL_MVM_STATUS_IN_D0I3, &mvm->status))
805-
return -EBUSY;
806-
807804
mutex_lock(&mvm->mutex);
808805

809806
if (new_state >= ARRAY_SIZE(iwl_mvm_cdev_budgets)) {

0 commit comments

Comments
 (0)