From: Kalle Valo <kvalo@qca.qualcomm.com>
To: ath10k@lists.infradead.org
Cc: linux-wireless@vger.kernel.org
Subject: [PATCH 3/8] ath10k: cleanup debug messages in core.c
Date: Sun, 08 Sep 2013 17:55:44 +0300 [thread overview]
Message-ID: <20130908145544.3136.77144.stgit@localhost6.localdomain6> (raw)
In-Reply-To: <20130908145435.3136.49168.stgit@localhost6.localdomain6>
Fix them to follow the general logging style in ath10k.
While at it, add print id chip_id to the debug log.
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
---
drivers/net/wireless/ath/ath10k/core.c | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)
diff --git a/drivers/net/wireless/ath/ath10k/core.c b/drivers/net/wireless/ath/ath10k/core.c
index 0ed60fd..76906d5 100644
--- a/drivers/net/wireless/ath/ath10k/core.c
+++ b/drivers/net/wireless/ath/ath10k/core.c
@@ -53,7 +53,7 @@ static const struct ath10k_hw_params ath10k_hw_params_list[] = {
static void ath10k_send_suspend_complete(struct ath10k *ar)
{
- ath10k_dbg(ATH10K_DBG_BOOT, "%s\n", __func__);
+ ath10k_dbg(ATH10K_DBG_BOOT, "boot suspend complete\n");
ar->is_target_paused = true;
wake_up(&ar->event_queue);
@@ -101,7 +101,7 @@ static int ath10k_init_connect_htc(struct ath10k *ar)
goto timeout;
}
- ath10k_dbg(ATH10K_DBG_BOOT, "core wmi ready\n");
+ ath10k_dbg(ATH10K_DBG_BOOT, "boot wmi ready\n");
return 0;
timeout:
@@ -204,7 +204,7 @@ static int ath10k_push_board_ext_data(struct ath10k *ar,
}
ath10k_dbg(ATH10K_DBG_BOOT,
- "ath10k: Board extended Data download addr: 0x%x\n",
+ "boot push board extended data addr 0x%x\n",
board_ext_data_addr);
if (board_ext_data_addr == 0)
@@ -722,6 +722,9 @@ static int ath10k_core_check_chip_id(struct ath10k *ar)
{
u32 hw_revision = MS(ar->chip_id, SOC_CHIP_ID_REV);
+ ath10k_dbg(ATH10K_DBG_BOOT, "boot chip_id 0x%08x hw_revision 0x%x\n",
+ ar->chip_id, hw_revision);
+
/* Check that we are not using hw1.0 (some of them have same pci id
* as hw2.0) before doing anything else as ath10k crashes horribly
* due to missing hw1.0 workarounds. */
next prev parent reply other threads:[~2013-09-08 14:55 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-09-08 14:55 [PATCH 0/8] ath10k: boot, bmi and mac debug message cleanup Kalle Valo
2013-09-08 14:55 ` [PATCH 1/8] ath10k: add BMI log level Kalle Valo
2013-09-08 14:55 ` [PATCH 2/8] ath10k: rename ATH10K_DBG_CORE to BOOT Kalle Valo
2013-09-08 14:55 ` Kalle Valo [this message]
2013-09-08 14:55 ` [PATCH 4/8] ath10k: add boot debug messages to pci.c and ce.c Kalle Valo
2013-09-08 14:55 ` [PATCH 5/8] ath10k: add boot debug messages to htc.c Kalle Valo
2013-09-08 14:56 ` [PATCH 6/8] ath10k: add boot messages to htt.c Kalle Valo
2013-09-08 14:56 ` [PATCH 7/8] ath10k: clean mac.c debug messages Kalle Valo
2013-09-08 14:56 ` [PATCH 8/8] ath10k: print phymode as a string Kalle Valo
2013-09-12 16:12 ` [PATCH 0/8] ath10k: boot, bmi and mac debug message cleanup Kalle Valo
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20130908145544.3136.77144.stgit@localhost6.localdomain6 \
--to=kvalo@qca.qualcomm.com \
--cc=ath10k@lists.infradead.org \
--cc=linux-wireless@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox