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: 10199831 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 DF6EA601A1 for ; Mon, 5 Feb 2018 04:12:22 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C80332862C for ; Mon, 5 Feb 2018 04:12:22 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id BB4EC28630; Mon, 5 Feb 2018 04:12:22 +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=-4.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 2E4B82862C for ; Mon, 5 Feb 2018 04:12:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To: References:List-Owner; bh=wL/nRojwUHvelda//LpGm2DdnmAQgoEiimP1B6746U4=; b=nVz oWTG2lxuVM8YrGZDSoO2iF9tDcbMh8jFr/e9HTxwSPRO4auS9ToYjj1D880MulB6WgOFfyYvcEF63 ZFv4Y7CRdRHAYYdUyfoctpRapI7H6zjlQnDARJJfUPDMpsVs5pbPqn9YPHXd7noheVkLQ6iMTMfw2 rehwK4fNEkvvfPauEWcki0fQTE7QpKwqzH5CnU/64xWbDF2EBWbRlKy8vecwN1bGphZXWEK9HQiph apToTtWDxdX2JIHSCJSzeocnGSPqPvjAjllUux9DDHrzd3udGQ6pGnxgZzHV4QCklGwoHHjspQs/7 Jsjy1zTpOnIZCXpOr0tFBqbwprskS9Q==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.89 #1 (Red Hat Linux)) id 1eiY8T-0006qR-NZ; Mon, 05 Feb 2018 04:12:05 +0000 Received: from sabertooth01.qualcomm.com ([65.197.215.72]) by bombadil.infradead.org with esmtps (Exim 4.89 #1 (Red Hat Linux)) id 1eiY8P-0006pc-UT for ath10k@lists.infradead.org; Mon, 05 Feb 2018 04:12:03 +0000 X-IronPort-AV: E=Sophos;i="5.46,462,1511856000"; d="scan'208";a="123496117" Received: from unknown (HELO ironmsg02-tai.qualcomm.com) ([10.249.140.7]) by sabertooth01.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 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 X-BeenThere: ath10k@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Govind Singh , linux-wireless@vger.kernel.org MIME-Version: 1.0 Sender: "ath10k" Errors-To: ath10k-bounces+patchwork-ath10k=patchwork.kernel.org@lists.infradead.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; }