2018-02-05 04:11:46

by Govind Singh

[permalink] [raw]
Subject: [PATCH] ath10k: Fix log message for hif power on failure

HIF power-on failure is applicable to each underlying
bus type. Fix log message for hif power on failure.

Signed-off-by: Govind Singh <[email protected]>
---
drivers/net/wireless/ath/ath10k/core.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/drivers/net/wireless/ath/ath10k/core.c b/drivers/net/wireless/ath/ath10k/core.c
index 8716ea4..52a19c1 100644
--- a/drivers/net/wireless/ath/ath10k/core.c
+++ b/drivers/net/wireless/ath/ath10k/core.c
@@ -1,6 +1,7 @@
/*
* Copyright (c) 2005-2011 Atheros Communications Inc.
* Copyright (c) 2011-2017 Qualcomm Atheros, Inc.
+ * Copyright (c) 2018, The Linux Foundation. All rights reserved.
*
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
@@ -2423,7 +2424,7 @@ static int ath10k_core_probe_fw(struct ath10k *ar)

ret = ath10k_hif_power_up(ar);
if (ret) {
- ath10k_err(ar, "could not start pci hif (%d)\n", ret);
+ ath10k_err(ar, "could not power on hif bus (%d)\n", ret);
return ret;
}

--
1.9.1


2018-02-27 16:43:43

by Kalle Valo

[permalink] [raw]
Subject: Re: ath10k: Fix log message for hif power on failure

Govind Singh <[email protected]> wrote:

> HIF power-on failure is applicable to each underlying
> bus type. Fix log message for hif power on failure.
>
> Signed-off-by: Govind Singh <[email protected]>
> Signed-off-by: Kalle Valo <[email protected]>

Patch applied to ath-next branch of ath.git, thanks.

cf0d37aecc06 ath10k: fix log message for hif power on failure

--
https://patchwork.kernel.org/patch/10199829/

https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches