Skip to content

Commit

Permalink
iwlwifi: increase PNVM load timeout
Browse files Browse the repository at this point in the history
[ Upstream commit 5cc816e ]

The FW has a watchdog of 200ms in the PNVM load flow, so the driver
should have a slightly higher timeout.  Change the timeout from 100ms
to 250ms.

Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Fixes: 70d3ca8 ("iwlwifi: mvm: ring the doorbell and wait for PNVM load completion")
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Link: https://lore.kernel.org/r/iwlwifi.20210612142637.ba22aec1e2be.I36bfadc28c480f4fc57266c075a79e8ea4a6934f@changeid
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
  • Loading branch information
lucacoelho authored and gregkh committed Jul 14, 2021
1 parent 21b4a80 commit 327ab5f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/net/wireless/intel/iwlwifi/fw/pnvm.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */
/******************************************************************************
*
* Copyright(c) 2020 Intel Corporation
* Copyright(c) 2020-2021 Intel Corporation
*
*****************************************************************************/

Expand All @@ -10,7 +10,7 @@

#include "fw/notif-wait.h"

#define MVM_UCODE_PNVM_TIMEOUT (HZ / 10)
#define MVM_UCODE_PNVM_TIMEOUT (HZ / 4)

int iwl_pnvm_load(struct iwl_trans *trans,
struct iwl_notif_wait_data *notif_wait);
Expand Down

0 comments on commit 327ab5f

Please sign in to comment.