diff options
author | Kalle Valo <kvalo@qca.qualcomm.com> | 2013-09-08 10:55:44 -0400 |
---|---|---|
committer | Kalle Valo <kvalo@qca.qualcomm.com> | 2013-09-12 11:21:37 -0400 |
commit | effea9688dae6ac1073b9f086903ddda8dda0b5a (patch) | |
tree | 8aa0cbd9abe209d9807d56f05c8f001afb12f86b | |
parent | b52b7688ac85819c9c99bfe0250913fd0053e665 (diff) |
ath10k: cleanup debug messages in core.c
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>
-rw-r--r-- | drivers/net/wireless/ath/ath10k/core.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/drivers/net/wireless/ath/ath10k/core.c b/drivers/net/wireless/ath/ath10k/core.c index 0ed60fd34b7f..76906d5a082e 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[] = { | |||
53 | 53 | ||
54 | static void ath10k_send_suspend_complete(struct ath10k *ar) | 54 | static void ath10k_send_suspend_complete(struct ath10k *ar) |
55 | { | 55 | { |
56 | ath10k_dbg(ATH10K_DBG_BOOT, "%s\n", __func__); | 56 | ath10k_dbg(ATH10K_DBG_BOOT, "boot suspend complete\n"); |
57 | 57 | ||
58 | ar->is_target_paused = true; | 58 | ar->is_target_paused = true; |
59 | wake_up(&ar->event_queue); | 59 | wake_up(&ar->event_queue); |
@@ -101,7 +101,7 @@ static int ath10k_init_connect_htc(struct ath10k *ar) | |||
101 | goto timeout; | 101 | goto timeout; |
102 | } | 102 | } |
103 | 103 | ||
104 | ath10k_dbg(ATH10K_DBG_BOOT, "core wmi ready\n"); | 104 | ath10k_dbg(ATH10K_DBG_BOOT, "boot wmi ready\n"); |
105 | return 0; | 105 | return 0; |
106 | 106 | ||
107 | timeout: | 107 | timeout: |
@@ -204,7 +204,7 @@ static int ath10k_push_board_ext_data(struct ath10k *ar, | |||
204 | } | 204 | } |
205 | 205 | ||
206 | ath10k_dbg(ATH10K_DBG_BOOT, | 206 | ath10k_dbg(ATH10K_DBG_BOOT, |
207 | "ath10k: Board extended Data download addr: 0x%x\n", | 207 | "boot push board extended data addr 0x%x\n", |
208 | board_ext_data_addr); | 208 | board_ext_data_addr); |
209 | 209 | ||
210 | if (board_ext_data_addr == 0) | 210 | if (board_ext_data_addr == 0) |
@@ -722,6 +722,9 @@ static int ath10k_core_check_chip_id(struct ath10k *ar) | |||
722 | { | 722 | { |
723 | u32 hw_revision = MS(ar->chip_id, SOC_CHIP_ID_REV); | 723 | u32 hw_revision = MS(ar->chip_id, SOC_CHIP_ID_REV); |
724 | 724 | ||
725 | ath10k_dbg(ATH10K_DBG_BOOT, "boot chip_id 0x%08x hw_revision 0x%x\n", | ||
726 | ar->chip_id, hw_revision); | ||
727 | |||
725 | /* Check that we are not using hw1.0 (some of them have same pci id | 728 | /* Check that we are not using hw1.0 (some of them have same pci id |
726 | * as hw2.0) before doing anything else as ath10k crashes horribly | 729 | * as hw2.0) before doing anything else as ath10k crashes horribly |
727 | * due to missing hw1.0 workarounds. */ | 730 | * due to missing hw1.0 workarounds. */ |