]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
wifi: iwlwifi: mvm/mld: make PHC messages debug messages
authorJohannes Berg <johannes.berg@intel.com>
Wed, 9 Jul 2025 05:16:27 +0000 (08:16 +0300)
committerMiri Korenblit <miriam.rachel.korenblit@intel.com>
Wed, 9 Jul 2025 08:43:16 +0000 (11:43 +0300)
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
drivers/net/wireless/intel/iwlwifi/mld/ptp.c
drivers/net/wireless/intel/iwlwifi/mvm/ptp.c

index 5ee38fc168c1418ca23293dd6c338994a26bbd6b..ffeb37a7f830ebe834f75f9e58f244644d5e6450 100644 (file)
@@ -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;
index e89259de6f4c3b3438fb49b989acb1410c3292ea..06a4c9f74797a4c107a6f48956889a37906ebb64 100644 (file)
@@ -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;