mirror of
https://github.com/torvalds/linux.git
synced 2026-05-30 01:53:29 +02:00
wifi: iwlwifi: iwl_fw_error_collect() is always called sync
Since iwl_fw_error_collect() is now always called with the sync argument set to true, to collect data synchronously, remove the argument from it entirely. Signed-off-by: Johannes Berg <johannes.berg@intel.com> Signed-off-by: Miri Korenblit <miriam.rachel.korenblit@intel.com> Link: https://patch.msgid.link/20241227095718.08f515513e88.I780a557743ca7f029f46a1cc75d0799542e39d83@changeid Signed-off-by: Johannes Berg <johannes.berg@intel.com>
This commit is contained in:
parent
7391b2a4f7
commit
0f28cc081f
|
|
@ -287,7 +287,7 @@ static inline void iwl_fw_umac_set_alive_err_table(struct iwl_trans *trans,
|
|||
trans->dbg.umac_error_event_table = umac_error_event_table;
|
||||
}
|
||||
|
||||
static inline void iwl_fw_error_collect(struct iwl_fw_runtime *fwrt, bool sync)
|
||||
static inline void iwl_fw_error_collect(struct iwl_fw_runtime *fwrt)
|
||||
{
|
||||
enum iwl_fw_ini_time_point tp_id;
|
||||
|
||||
|
|
@ -303,7 +303,7 @@ static inline void iwl_fw_error_collect(struct iwl_fw_runtime *fwrt, bool sync)
|
|||
tp_id = IWL_FW_INI_TIME_POINT_FW_ASSERT;
|
||||
}
|
||||
|
||||
_iwl_dbg_tlv_time_point(fwrt, tp_id, NULL, sync);
|
||||
iwl_dbg_tlv_time_point_sync(fwrt, tp_id, NULL);
|
||||
}
|
||||
|
||||
static inline void iwl_fwrt_update_fw_versions(struct iwl_fw_runtime *fwrt,
|
||||
|
|
|
|||
|
|
@ -2043,11 +2043,11 @@ static void iwl_mvm_dump_error(struct iwl_op_mode *op_mode,
|
|||
/* if we come in from opmode we have the mutex held */
|
||||
if (mode->context == IWL_ERR_CONTEXT_FROM_OPMODE) {
|
||||
lockdep_assert_held(&mvm->mutex);
|
||||
iwl_fw_error_collect(&mvm->fwrt, true);
|
||||
iwl_fw_error_collect(&mvm->fwrt);
|
||||
} else {
|
||||
mutex_lock(&mvm->mutex);
|
||||
if (mode->context != IWL_ERR_CONTEXT_ABORT)
|
||||
iwl_fw_error_collect(&mvm->fwrt, true);
|
||||
iwl_fw_error_collect(&mvm->fwrt);
|
||||
mutex_unlock(&mvm->mutex);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user