From patchwork Mon Feb 5 04:11:34 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Govind Singh X-Patchwork-Id: 10199829 X-Patchwork-Delegate: kvalo@adurom.com Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 63BB8601A1 for ; Mon, 5 Feb 2018 04:11:49 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 46ABA2862C for ; Mon, 5 Feb 2018 04:11:49 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 3B33328630; Mon, 5 Feb 2018 04:11:49 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=2.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id D77CE2862C for ; Mon, 5 Feb 2018 04:11:48 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752250AbeBEELr (ORCPT ); Sun, 4 Feb 2018 23:11:47 -0500 Received: from alexa-out.qualcomm.com ([129.46.98.28]:29317 "EHLO alexa-out.qualcomm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752166AbeBEELq (ORCPT ); Sun, 4 Feb 2018 23:11:46 -0500 X-IronPort-AV: E=Sophos;i="5.46,462,1511856000"; d="scan'208";a="14300352" Received: from ironmsg02-tai.qualcomm.com ([10.249.140.7]) by alexa-out.qualcomm.com with ESMTP; 04 Feb 2018 20:11:45 -0800 X-IronPort-AV: E=McAfee;i="5900,7806,8795"; a="839110" X-MGA-submission: =?us-ascii?q?MDFYjqZanyezRkm1UjNYa0O3P9n4FGlSuGBwkE?= =?us-ascii?q?Lmkz2FNX1CJatoq5e/bEiywLL3FlJMw02WPQNeH89kn98vGRGuUZ7gAo?= =?us-ascii?q?SX2vUB5MyDhaffhX7DjIBlNqDQ5QOByISYMWMIHPZ4q0RxpmcuGr1jNW?= =?us-ascii?q?rj?= Received: from govinds-linux.qualcomm.com ([10.204.116.70]) by ironmsg02-tai.qualcomm.com with ESMTP; 04 Feb 2018 20:11:38 -0800 Received: by govinds-linux.qualcomm.com (Postfix, from userid 399420) id E858A2175; Mon, 5 Feb 2018 09:41:36 +0530 (IST) From: Govind Singh To: ath10k@lists.infradead.org Cc: linux-wireless@vger.kernel.org, Govind Singh Subject: [PATCH] ath10k: Fix log message for hif power on failure Date: Mon, 5 Feb 2018 09:41:34 +0530 Message-Id: <1517803894-4250-1-git-send-email-govinds@codeaurora.org> X-Mailer: git-send-email 1.9.1 Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP HIF power-on failure is applicable to each underlying bus type. Fix log message for hif power on failure. Signed-off-by: Govind Singh --- 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; }