From patchwork Wed Nov 8 21:31:38 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mark Brown X-Patchwork-Id: 118348 Delivered-To: patch@linaro.org Received: by 10.140.22.164 with SMTP id 33csp5931535qgn; Wed, 8 Nov 2017 16:14:08 -0800 (PST) X-Google-Smtp-Source: ABhQp+QdT2s9ALRW9WvUTXE1ul1PBNkGHF26nWfied4/fwBO/bSGF6Gmjn0/wxBUx1+p53XVaWKA X-Received: by 10.223.201.8 with SMTP id m8mr1800713wrh.260.1510186448848; Wed, 08 Nov 2017 16:14:08 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1510186448; cv=none; d=google.com; s=arc-20160816; b=DafPIG3CYEI+91I/ynx3HCpK1QH/nD/A1aUkzrpxNeBjHu19PkKfBNCmsCB01R063G SeWSndur27BAmXxz1/JJ6AkRIZhERJuhREdNRcc0fp5l9Hs+f0aZOxQRLufo8h/1l2l2 tFAlptcuUMjW0il7n7wOFNkOtmqPwfPAS3Yi6XcwWKIUmChw5b/WNhjvglhmBkJHkpaj jAClr6ERrCDkM1CeRP/3XDO+5OAVrzcOaIJl1Wuz7HDxMwbVlJ/Rg3Q81VAdirjjMN4O K7B7Lgp5F83qhLhAKer2SQydaktBYEfb/aa3mZBk/ou7GzufJvFHLUnuxs3mmWda0D/y O52g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:cc:date:message-id:in-reply-to:to:from :dkim-signature:delivered-to:arc-authentication-results; bh=9qFzqJ7l1TCt81RC+zatYiJ1ypPhEdm+2zPCzzaOVyM=; b=H8kYdiXAnqtMAbinnQYArkqh+7v6zh9/gth5vvSNqCeSkGhHBDx+1NBur0KPw/+Kuv P104poG1EDhe16iig2yNfhZ2exS0C9lXhNlNWgtPS07Xu7u1gt6yK2aPUsDuZskw6kJW uN7zAO5VC50irOD4EIBzVZRNypKFDGXx1rYjejm4S8umdKhhuZdmXuXt025d3cu3ooHM SCy6qsTg64nK4DFBVO1iP37Zqb11jxCNBH//mNKBG3pSPsojpD4/F2RSM72x6wR7/N6D I5HrrFhg6WOlWL/SEh5Xc4Fz/qj6tdBehjSa9ilzHXbjdhBrtkB7bfW3knsHX5RRctVn ijlQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@sirena.org.uk header.s=20170815-heliosphere header.b=eFOEQtm3; spf=pass (google.com: domain of alsa-devel-bounces@alsa-project.org designates 77.48.224.243 as permitted sender) smtp.mailfrom=alsa-devel-bounces@alsa-project.org Return-Path: Received: from alsa0.perex.cz (alsa0.perex.cz. [77.48.224.243]) by mx.google.com with ESMTP id 53si4695287wrc.423.2017.11.08.16.14.08; Wed, 08 Nov 2017 16:14:08 -0800 (PST) Received-SPF: pass (google.com: domain of alsa-devel-bounces@alsa-project.org designates 77.48.224.243 as permitted sender) client-ip=77.48.224.243; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@sirena.org.uk header.s=20170815-heliosphere header.b=eFOEQtm3; spf=pass (google.com: domain of alsa-devel-bounces@alsa-project.org designates 77.48.224.243 as permitted sender) smtp.mailfrom=alsa-devel-bounces@alsa-project.org Received: from alsa0.perex.cz (localhost [127.0.0.1]) by alsa0.perex.cz (Postfix) with ESMTP id 1466A26799A; Thu, 9 Nov 2017 01:12:34 +0100 (CET) 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 E09A2267673; Wed, 8 Nov 2017 22:38:27 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mail1.perex.cz X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS, SPF_PASS autolearn=disabled version=3.4.0 Received: from heliosphere.sirena.org.uk (heliosphere.sirena.org.uk [172.104.155.198]) by alsa0.perex.cz (Postfix) with ESMTP id 8DB49267670 for ; Wed, 8 Nov 2017 22:31:58 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sirena.org.uk; s=20170815-heliosphere; h=Date:Message-Id:In-Reply-To: Subject:Cc:To:From:Sender:Reply-To:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:References: List-Id:List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner: List-Archive; bh=mTLfqJp999GNk0bpnPj6i6qL/seWZGAfM5Nui+DtTWI=; b=eFOEQtm3UioA qiEYvmWxkT2DE/n565o+lYR2Iryv3ZVR/gLwnSq+2JTzHY0iDHmcyX/Dr9+S3KwUgPiEhsa6dBCpI KUpCaDjkrDaBwQssd02Ub2ScAy581wJcfYy/lfoE8Xm0EpdJBezHBqMK7uaaEHg/UZ4LfvsPDCOqz TBXeY=; Received: from debutante.sirena.org.uk ([2001:470:1f1d:6b5::3] helo=debutante) by heliosphere.sirena.org.uk with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1eCXwh-0003fi-3o; Wed, 08 Nov 2017 21:31:39 +0000 Received: from broonie by debutante with local (Exim 4.89) (envelope-from ) id 1eCXwg-0005KD-9A; Wed, 08 Nov 2017 21:31:38 +0000 From: Mark Brown To: Gustavo A. R. Silva In-Reply-To: Message-Id: Date: Wed, 08 Nov 2017 21:31:38 +0000 Cc: alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org, Takashi Iwai , Liam Girdwood , Mark Brown , "Gustavo A. R. Silva" Subject: [alsa-devel] Applied "ASoC: tlv320aic23: mark expected switch fall-through" to the asoc tree 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" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org The patch ASoC: tlv320aic23: mark expected switch fall-through has been applied to the asoc tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus during the next merge window (or sooner if it is a bug fix), however if problems are discovered then the patch may be dropped or reverted. You may get further e-mails resulting from automated or manual testing and review of the tree, please engage with people reporting problems and send followup patches addressing any issues that are reported if needed. If any updates are required or you are submitting further changes they should be sent as incremental updates against current git, existing patches will not be replaced. Please add any relevant lists and maintainers to the CCs when replying to this mail. Thanks, Mark >From a47043ec35d4198b3858cb1eb4c38d712154ae99 Mon Sep 17 00:00:00 2001 From: "Gustavo A. R. Silva" Date: Wed, 8 Nov 2017 14:04:12 -0600 Subject: [PATCH] ASoC: tlv320aic23: mark expected switch fall-through In preparation to enabling -Wimplicit-fallthrough, mark switch cases where we are expecting to fall through. Addresses-Coverity-ID: 146566 Signed-off-by: Gustavo A. R. Silva Signed-off-by: Mark Brown --- sound/soc/codecs/tlv320aic23.c | 1 + 1 file changed, 1 insertion(+) -- 2.15.0 _______________________________________________ Alsa-devel mailing list Alsa-devel@alsa-project.org http://mailman.alsa-project.org/mailman/listinfo/alsa-devel diff --git a/sound/soc/codecs/tlv320aic23.c b/sound/soc/codecs/tlv320aic23.c index 3d42138a7974..74909211c608 100644 --- a/sound/soc/codecs/tlv320aic23.c +++ b/sound/soc/codecs/tlv320aic23.c @@ -454,6 +454,7 @@ static int tlv320aic23_set_dai_fmt(struct snd_soc_dai *codec_dai, break; case SND_SOC_DAIFMT_DSP_A: iface_reg |= TLV320AIC23_LRP_ON; + /* fall through */ case SND_SOC_DAIFMT_DSP_B: iface_reg |= TLV320AIC23_FOR_DSP; break;