Message ID | 1482355793-16190-3-git-send-email-peda@axentia.se (mailing list archive) |
---|---|
State | Not Applicable, archived |
Headers | show
Return-Path: <linux-pm-owner@kernel.org> 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 A86C0601D2 for <patchwork-linux-pm@patchwork.kernel.org>; Wed, 21 Dec 2016 22:05:14 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 9AC3028482 for <patchwork-linux-pm@patchwork.kernel.org>; Wed, 21 Dec 2016 22:05:14 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 8F2872849D; Wed, 21 Dec 2016 22:05:14 +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.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,T_DKIM_INVALID 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 D19D928482 for <patchwork-linux-pm@patchwork.kernel.org>; Wed, 21 Dec 2016 22:05:13 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1760449AbcLUWEz (ORCPT <rfc822;patchwork-linux-pm@patchwork.kernel.org>); Wed, 21 Dec 2016 17:04:55 -0500 Received: from mail-db5eur01on0136.outbound.protection.outlook.com ([104.47.2.136]:54107 "EHLO EUR01-DB5-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751316AbcLUWEp (ORCPT <rfc822;linux-pm@vger.kernel.org>); Wed, 21 Dec 2016 17:04:45 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=axentiatech.onmicrosoft.com; s=selector1-axentia-se; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=mSMghGo/gRiA74eV7Ds/a9kK+Q9s3AvqdgQ6BDuzaB8=; b=OZ8C7fan6Vk6xmWi3jNK+zmJiET1qPckAzFmNG9yshypzYkRqeFXPOSBmF7AXO/Lss7AAgmdPRTiEBs4SoPL2sYUtailqTrOcP+2XhiSZuNGGdPtR9KO8icdDncrr8u1zN5LHFZxCfIi9I4xitS9tG5+RUk2kT/WSIolH7rn9ck= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=peda@axentia.se; Received: from localhost.localdomain (217.210.101.82) by DB6PR0201MB2309.eurprd02.prod.outlook.com (10.169.222.148) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.803.11; Wed, 21 Dec 2016 21:30:10 +0000 From: Peter Rosin <peda@axentia.se> To: linux-kernel@vger.kernel.org Cc: Peter Rosin <peda@axentia.se>, Sebastian Reichel <sre@kernel.org>, Rob Herring <robh+dt@kernel.org>, Mark Rutland <mark.rutland@arm.com>, linux-pm@vger.kernel.org, devicetree@vger.kernel.org Subject: [PATCH 2/2] power: supply: bq24735: bring down the noise level Date: Wed, 21 Dec 2016 22:29:53 +0100 Message-Id: <1482355793-16190-3-git-send-email-peda@axentia.se> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1482355793-16190-1-git-send-email-peda@axentia.se> References: <1482355793-16190-1-git-send-email-peda@axentia.se> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [217.210.101.82] X-ClientProxiedBy: VI1PR0701CA0050.eurprd07.prod.outlook.com (10.168.131.140) To DB6PR0201MB2309.eurprd02.prod.outlook.com (10.169.222.148) X-MS-Office365-Filtering-Correlation-Id: 790cea63-4a99-448f-6c1c-08d429e88b53 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001); SRVR:DB6PR0201MB2309; X-Microsoft-Exchange-Diagnostics: 1; DB6PR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xZMx6dVYCdcJQBazr/1vGLl6deiaPGjbTU5OW92/d4eSNyTqQ== X-Microsoft-Exchange-Diagnostics: 1; DB6PR0201MB2309; 31:pXi6YLInfxrCx5f6f22RS760/MApHBKcyuQGo5juD+KEHSvWijzmb0qzULsrdTf/x74375NHbL2/og6iiVlq7MU4T+TGWkC2cWhzBdtfov+vmbMY14sptP0OEpjYxC9o4tLs3OqZFutpkRf6Qs2HK7R3syTBxkqmKvDoEy9TitrBVb7pkwuuaPbhFXX8KmNoCz79iXm8NsXL+nOt/jOYpOcrbpxgWtprZQoheOVVdN8ouCVpVQko7HZPBa7FKYd6/kp6aTtETU6/fwZ9cdgVDw==; 4:Mv6YVHX95psnhx53j8S2lOCn2txUWhlF9QtXtM1u9llbYm71zJYJz9ZBKxJGLGGKR+0Y7S/U4KOBhLkec62slrXYRWybadRIinXNshzVMDz+OQa5EiNpUmZrWPFDHeBpDrBRplxE23XN3ke/hhxQGYVPouA8l/epAgnGQIDuRVds1P6ppMAKu6ET5g0ETYa97ZHgAARVqsoGrLsQy/5Gz2Ph0xCdmShEnSpBGrxEU2zHeNdJU8EORvfjdymbIkVcmJJzoUoxMx0JR1o0SYqC6gVrn1zSG6LSx3tZuGi8cCkmYyaZlf4WKFLuxmX3wRaK9lZagcgv7bSeph0zB3yGdHjTtxEgYQs21kjR/9ZEBAadYE1TN2tEYabDalZaePOp2HBqUA2zDRUKBXq77v74ckzgakBP1/VUWfQ1Km05SjTxmMS4k9WyNlEImToEZDPL5u1v3MEq61xzQI1gfL6knLOYa6i7xaTG2ghdiChwT5A4KZIOjsOAaB5RClCP88xKdP4G7Awz4F9zLuBosB17zMjNDy9FTng4Pexr6VSR6o2dFxlaldybm1DRg/toTTlaCun25bAPAFdh7R3L3Ljqmerx94NpUuLQpEBYxWpu3BaWPO8Flfr42SUGLgtTkned X-Microsoft-Antispam-PRVS: <DB6PR0201MB230916BBFE6133A8DF745642BC930@DB6PR0201MB2309.eurprd02.prod.outlook.com> X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040375)(601004)(2401047)(8121501046)(5005006)(3002001)(10201501046)(6041248)(2016111802025)(20161123562025)(20161123564025)(20161123560025)(20161123555025)(6072148)(6043046); SRVR:DB6PR0201MB2309; BCL:0; PCL:0; RULEID:; SRVR:DB6PR0201MB2309; X-Forefront-PRVS: 01630974C0 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10019020)(4630300001)(6069001)(6009001)(7916002)(39410400002)(39450400003)(39830400002)(189002)(199003)(74482002)(36756003)(47776003)(6486002)(7736002)(2950100002)(33646002)(2351001)(6916009)(101416001)(110136003)(105586002)(189998001)(86362001)(50986999)(76176999)(48376002)(50466002)(97736004)(68736007)(6666003)(106356001)(38730400001)(4326007)(2906002)(5003940100001)(81166006)(3846002)(6116002)(42186005)(92566002)(25786008)(2361001)(50226002)(305945005)(66066001)(5660300001)(6506006)(6512006)(81156014)(8676002)(42262002); DIR:OUT; SFP:1102; SCL:1; SRVR:DB6PR0201MB2309; H:localhost.localdomain; FPR:; SPF:None; PTR:InfoNoRecords; MX:1; A:1; LANG:en; Received-SPF: None (protection.outlook.com: axentia.se does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; DB6PR0201MB2309; 23:MYVKWEXmSI3hspr/mVHHcjXPfYP9jTJUAaIjz/2?= =?us-ascii?Q?XBtirUj+iBZOY73bri/ra9u12zCPtYXSwnSHYbfkncfZ6B3v371/ePgrLbmA?= =?us-ascii?Q?tQ8JBJ+NaqneIZavnSIe9ApuXO0fYHU+0PTpedPmv2cqEuo0FVE3g9P2XBmW?= =?us-ascii?Q?o5OElFP+7C+/D7NlaaGQA/4AmvLCBVM9U4glL+uyLvViNkh8AFJ0fgMnPgHd?= =?us-ascii?Q?9vEaVlFpvoiGKb5ZQ7uHu1U7h6UjyyxWnXPCBkaRS/fFe34rK8Ct1S+PdIzu?= =?us-ascii?Q?DjnuQ6y1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7nFAAJEnJxoLGI5ZPHfScpZbMNt3+NP2vauQckLkh/5+sXqtWrt+qr2Wm984+vkzOPVcGWJ9/U/P5Mla7Dwrgk8FvYda3I9XwiJjiCUFmVi0G8jqnjV4N5xIdsMLVf+ivbMuOx9oFxVrHTYQaaf9cpCV4o66tKrwrRmbK9WM2QZhW/cldcE+c9Z/M7LPSI7Cy17UIKCqUCtTLyHGhLJLR7942dLrpRlpJibrzREFkDtPDWeQ3nkuqZQc+JPa9s2FbekpYvEyoQCVBDveXd8NKEkcI/8f6WE3qT4e7Qn3yxZyb+7Jh/XQHT4/csqmaE3wGjBIOHA== X-OriginatorOrg: axentia.se X-MS-Exchange-CrossTenant-OriginalArrivalTime: 21 Dec 2016 21:30:10.0844 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB6PR0201MB2309 Sender: linux-pm-owner@vger.kernel.org Precedence: bulk List-ID: <linux-pm.vger.kernel.org> X-Mailing-List: linux-pm@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP |
diff --git a/drivers/power/supply/bq24735-charger.c b/drivers/power/supply/bq24735-charger.c index d8be81203837..eb0145380def 100644 --- a/drivers/power/supply/bq24735-charger.c +++ b/drivers/power/supply/bq24735-charger.c @@ -192,7 +192,7 @@ static bool bq24735_charger_is_present(struct bq24735 *charger) ac = bq24735_read_word(charger->client, BQ24735_CHG_OPT); if (ac < 0) { - dev_err(&charger->client->dev, + dev_dbg(&charger->client->dev, "Failed to read charger options : %d\n", ac); return false;
If there is no ti,ac-detect-gpios configured, it is normal to have failed reads of the options register. So, hold back on the log spamming. Signed-off-by: Peter Rosin <peda@axentia.se> --- drivers/power/supply/bq24735-charger.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)