mirror of
https://github.com/torvalds/linux.git
synced 2026-05-31 18:43:33 +02:00
wifi: iwlwifi: mvm/mld: make PHC messages debug messages
These have no real value for normal users, print them as debug messages instead. Signed-off-by: Johannes Berg <johannes.berg@intel.com> Signed-off-by: Miri Korenblit <miriam.rachel.korenblit@intel.com> Link: https://patch.msgid.link/20250709081300.bd2df0705d89.Ic6f042588ef17719653c077ff89a8b9149c22f92@changeid
This commit is contained in:
parent
46f29dbfa9
commit
c0a44a7bd2
|
|
@ -299,18 +299,18 @@ void iwl_mld_ptp_init(struct iwl_mld *mld)
|
|||
PTR_ERR(mld->ptp_data.ptp_clock));
|
||||
mld->ptp_data.ptp_clock = NULL;
|
||||
} else {
|
||||
IWL_INFO(mld, "Registered PHC clock: %s, with index: %d\n",
|
||||
mld->ptp_data.ptp_clock_info.name,
|
||||
ptp_clock_index(mld->ptp_data.ptp_clock));
|
||||
IWL_DEBUG_INFO(mld, "Registered PHC clock: %s, with index: %d\n",
|
||||
mld->ptp_data.ptp_clock_info.name,
|
||||
ptp_clock_index(mld->ptp_data.ptp_clock));
|
||||
}
|
||||
}
|
||||
|
||||
void iwl_mld_ptp_remove(struct iwl_mld *mld)
|
||||
{
|
||||
if (mld->ptp_data.ptp_clock) {
|
||||
IWL_INFO(mld, "Unregistering PHC clock: %s, with index: %d\n",
|
||||
mld->ptp_data.ptp_clock_info.name,
|
||||
ptp_clock_index(mld->ptp_data.ptp_clock));
|
||||
IWL_DEBUG_INFO(mld, "Unregistering PHC clock: %s, with index: %d\n",
|
||||
mld->ptp_data.ptp_clock_info.name,
|
||||
ptp_clock_index(mld->ptp_data.ptp_clock));
|
||||
|
||||
ptp_clock_unregister(mld->ptp_data.ptp_clock);
|
||||
mld->ptp_data.ptp_clock = NULL;
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
// SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause
|
||||
/*
|
||||
* Copyright (C) 2021 - 2023 Intel Corporation
|
||||
* Copyright (C) 2021 - 2023, 2025 Intel Corporation
|
||||
*/
|
||||
|
||||
#include "mvm.h"
|
||||
|
|
@ -298,9 +298,9 @@ void iwl_mvm_ptp_init(struct iwl_mvm *mvm)
|
|||
PTR_ERR(mvm->ptp_data.ptp_clock));
|
||||
mvm->ptp_data.ptp_clock = NULL;
|
||||
} else if (mvm->ptp_data.ptp_clock) {
|
||||
IWL_INFO(mvm, "Registered PHC clock: %s, with index: %d\n",
|
||||
mvm->ptp_data.ptp_clock_info.name,
|
||||
ptp_clock_index(mvm->ptp_data.ptp_clock));
|
||||
IWL_DEBUG_INFO(mvm, "Registered PHC clock: %s, with index: %d\n",
|
||||
mvm->ptp_data.ptp_clock_info.name,
|
||||
ptp_clock_index(mvm->ptp_data.ptp_clock));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -312,9 +312,9 @@ void iwl_mvm_ptp_init(struct iwl_mvm *mvm)
|
|||
void iwl_mvm_ptp_remove(struct iwl_mvm *mvm)
|
||||
{
|
||||
if (mvm->ptp_data.ptp_clock) {
|
||||
IWL_INFO(mvm, "Unregistering PHC clock: %s, with index: %d\n",
|
||||
mvm->ptp_data.ptp_clock_info.name,
|
||||
ptp_clock_index(mvm->ptp_data.ptp_clock));
|
||||
IWL_DEBUG_INFO(mvm, "Unregistering PHC clock: %s, with index: %d\n",
|
||||
mvm->ptp_data.ptp_clock_info.name,
|
||||
ptp_clock_index(mvm->ptp_data.ptp_clock));
|
||||
|
||||
ptp_clock_unregister(mvm->ptp_data.ptp_clock);
|
||||
mvm->ptp_data.ptp_clock = NULL;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user