Message ID | 1409238162-13400-3-git-send-email-brian.austin@cirrus.com (mailing list archive) |
---|---|
State | Accepted |
Commit | c2b49ae678b8bd1fd4ea3e3ae106020d663e8969 |
Headers | show
Return-Path: <alsa-devel-bounces@alsa-project.org> X-Original-To: patchwork-alsa-devel@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 3AED2C0338 for <patchwork-alsa-devel@patchwork.kernel.org>; Fri, 29 Aug 2014 22:11:16 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 6F5BB2011D for <patchwork-alsa-devel@patchwork.kernel.org>; Fri, 29 Aug 2014 22:11:15 +0000 (UTC) Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) by mail.kernel.org (Postfix) with ESMTP id DF4FA200F3 for <patchwork-alsa-devel@patchwork.kernel.org>; Fri, 29 Aug 2014 22:11:13 +0000 (UTC) Received: by alsa0.perex.cz (Postfix, from userid 1000) id EF820265AC0; Sat, 30 Aug 2014 00:11:12 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 Received: from alsa0.perex.cz (localhost [IPv6:::1]) by alsa0.perex.cz (Postfix) with ESMTP id 2F975265E32; Fri, 29 Aug 2014 19:13:25 +0200 (CEST) X-Original-To: alsa-devel@alsa-project.org Delivered-To: alsa-devel@alsa-project.org Received: by alsa0.perex.cz (Postfix, from userid 1000) id 5CAEF265487; Fri, 29 Aug 2014 19:13:22 +0200 (CEST) Received: from na01-bn1-obe.outbound.protection.outlook.com (mail-bn1lp0139.outbound.protection.outlook.com [207.46.163.139]) by alsa0.perex.cz (Postfix) with ESMTP id 6F3732664A4 for <alsa-devel@alsa-project.org>; Thu, 28 Aug 2014 17:02:16 +0200 (CEST) Received: from BY2FFO11FD047.protection.gbl (10.1.14.34) by BY2FFO11HUB025.protection.gbl (10.1.14.111) with Microsoft SMTP Server (TLS) id 15.0.1010.11; Thu, 28 Aug 2014 15:02:11 +0000 Received: from mail2.cirrus.com (141.131.128.20) by BY2FFO11FD047.mail.protection.outlook.com (10.1.15.175) with Microsoft SMTP Server id 15.0.1010.11 via Frontend Transport; Thu, 28 Aug 2014 15:02:11 +0000 Received: from ex4.ad.cirrus.com (unknown [141.131.36.35]) by mail2.cirrus.com (Postfix) with ESMTP id 0D977FC02E; Thu, 28 Aug 2014 10:02:09 -0500 (CDT) Received: from heelrod.ad.cirrus.com (141.131.108.100) by EX4.ad.cirrus.com (141.131.36.39) with Microsoft SMTP Server id 14.3.174.1; Thu, 28 Aug 2014 10:02:11 -0500 Received: from heelrod.ad.cirrus.com (localhost [127.0.0.1]) by heelrod.ad.cirrus.com (8.14.4/8.14.4/Debian-2ubuntu2.1) with ESMTP id s7SF2nWN013445; Thu, 28 Aug 2014 10:02:49 -0500 Received: (from heelrod@localhost) by heelrod.ad.cirrus.com (8.14.4/8.14.4/Submit) id s7SF2n98013444; Thu, 28 Aug 2014 10:02:49 -0500 From: Brian Austin <brian.austin@cirrus.com> To: <alsa-devel@alsa-project.org> Date: Thu, 28 Aug 2014 10:02:42 -0500 Message-ID: <1409238162-13400-3-git-send-email-brian.austin@cirrus.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1409238162-13400-1-git-send-email-brian.austin@cirrus.com> References: <1409238162-13400-1-git-send-email-brian.austin@cirrus.com> MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-Forefront-Antispam-Report: CIP:141.131.128.20; CTRY:US; IPV:NLI; EFV:NLI; SFV:NSPM; SFS:(6009001)(438002)(189002)(199003)(77982001)(76482001)(74662001)(31966008)(74502001)(50226001)(80022001)(81542001)(77156001)(106466001)(4396001)(64706001)(79102001)(20776003)(47776003)(95666004)(85306004)(44976005)(110136001)(33646002)(2351001)(46102001)(19580395003)(81342001)(107046002)(83322001)(36756003)(229853001)(19580405001)(50986999)(21056001)(48376002)(62966002)(99396002)(76176999)(77096002)(90102001)(42186005)(92566001)(104166001)(50466002)(85852003)(93916002)(88136002)(87286001)(89996001)(83072002)(92726001)(87936001)(102836001)(87636001); DIR:OUT; SFP:; SCL:1; SRVR:BY2FFO11HUB025; H:mail2.cirrus.com; FPR:; MLV:sfv; PTR:mail2.cirrus.com; MX:1; A:1; LANG:en; X-Microsoft-Antispam: BCL:0;PCL:0;RULEID:;UriScan:; X-Forefront-PRVS: 031763BCAF Received-SPF: Pass (protection.outlook.com: domain of cirrus.com designates 141.131.128.20 as permitted sender) receiver=protection.outlook.com; client-ip=141.131.128.20; helo=mail2.cirrus.com; Authentication-Results: spf=pass (sender IP is 141.131.128.20) smtp.mailfrom=heelrod@cirrus.com; X-OriginatorOrg: cirrus.com Cc: Brian Austin <brian.austin@cirrus.com>, broonie@kernel.org, lgirdwood@gmail.com Subject: [alsa-devel] [PATCH 3/3] ASoC: cs42l56: use true/false returns for bool functions X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" <alsa-devel.alsa-project.org> List-Unsubscribe: <http://mailman.alsa-project.org/mailman/options/alsa-devel>, <mailto:alsa-devel-request@alsa-project.org?subject=unsubscribe> List-Archive: <http://mailman.alsa-project.org/pipermail/alsa-devel/> List-Post: <mailto:alsa-devel@alsa-project.org> List-Help: <mailto:alsa-devel-request@alsa-project.org?subject=help> List-Subscribe: <http://mailman.alsa-project.org/mailman/listinfo/alsa-devel>, <mailto:alsa-devel-request@alsa-project.org?subject=subscribe> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org X-Virus-Scanned: ClamAV using ClamSMTP |
diff --git a/sound/soc/codecs/cs42l56.c b/sound/soc/codecs/cs42l56.c index c766a5a..b1c7396 100644 --- a/sound/soc/codecs/cs42l56.c +++ b/sound/soc/codecs/cs42l56.c @@ -171,9 +171,9 @@ static bool cs42l56_volatile_register(struct device *dev, unsigned int reg) { switch (reg) { case CS42L56_INT_STATUS: - return 1; + return true; default: - return 0; + return false; } }
Return true or false instead of 1 and 0 Signed-off-by: Brian Austin <brian.austin@cirrus.com> --- sound/soc/codecs/cs42l56.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)