From: Kalle Valo Date: Mon, 25 Aug 2014 05:37:37 +0000 (+0300) Subject: ath10k: rename ath10k_pci_hif_dump_area() to ath10k_pci_fw_crashed_dump() X-Git-Tag: v4.14-rc1~6661^2~133^2~55^2~17 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=0e9848c0ec5a8f57e98264ae532b6adcaeecac3b;p=platform%2Fkernel%2Flinux-rpi.git ath10k: rename ath10k_pci_hif_dump_area() to ath10k_pci_fw_crashed_dump() Better to have a clear name for the function. While at it, clear up the title for the register dump. Signed-off-by: Kalle Valo --- diff --git a/drivers/net/wireless/ath/ath10k/pci.c b/drivers/net/wireless/ath/ath10k/pci.c index 36c4f41..bc8c3e3 100644 --- a/drivers/net/wireless/ath/ath10k/pci.c +++ b/drivers/net/wireless/ath/ath10k/pci.c @@ -850,7 +850,7 @@ static void ath10k_pci_dump_registers(struct ath10k *ar, BUILD_BUG_ON(REG_DUMP_COUNT_QCA988X % 4); - ath10k_err("target Register Dump\n"); + ath10k_err("firmware register dump:\n"); for (i = 0; i < REG_DUMP_COUNT_QCA988X; i += 4) ath10k_err("[%02d]: 0x%08X 0x%08X 0x%08X 0x%08X\n", i, @@ -864,7 +864,7 @@ static void ath10k_pci_dump_registers(struct ath10k *ar, crash_data->registers[i] = cpu_to_le32(reg_dump_values[i]); } -static void ath10k_pci_hif_dump_area(struct ath10k *ar) +static void ath10k_pci_fw_crashed_dump(struct ath10k *ar) { struct ath10k_fw_crash_data *crash_data; char uuid[50]; @@ -1811,7 +1811,7 @@ static void ath10k_pci_fw_interrupt_handler(struct ath10k *ar) fw_indicator & ~FW_IND_EVENT_PENDING); if (ar_pci->started) { - ath10k_pci_hif_dump_area(ar); + ath10k_pci_fw_crashed_dump(ar); } else { /* * Probable Target failure before we're prepared @@ -2232,7 +2232,7 @@ static void ath10k_pci_early_irq_tasklet(unsigned long data) if (fw_ind & FW_IND_EVENT_PENDING) { ath10k_pci_write32(ar, FW_INDICATOR_ADDRESS, fw_ind & ~FW_IND_EVENT_PENDING); - ath10k_pci_hif_dump_area(ar); + ath10k_pci_fw_crashed_dump(ar); } ath10k_pci_enable_legacy_irq(ar); @@ -2483,7 +2483,7 @@ static int ath10k_pci_wait_for_target_init(struct ath10k *ar) ath10k_warn("device has crashed during init\n"); ath10k_pci_write32(ar, FW_INDICATOR_ADDRESS, val & ~FW_IND_EVENT_PENDING); - ath10k_pci_hif_dump_area(ar); + ath10k_pci_fw_crashed_dump(ar); return -ECOMM; }