From patchwork Wed Nov 8 21:31:31 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mark Brown X-Patchwork-Id: 118349 Delivered-To: patch@linaro.org Received: by 10.140.22.164 with SMTP id 33csp5931713qgn; Wed, 8 Nov 2017 16:14:23 -0800 (PST) X-Google-Smtp-Source: ABhQp+RQRKSDINH9tzGVysZtdrbtT5afP0Dhgx5JoRvPDmbj5lGpJYFCv12CWHkWKfMoq3L3veup X-Received: by 10.223.161.158 with SMTP id u30mr1703656wru.199.1510186463581; Wed, 08 Nov 2017 16:14:23 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1510186463; cv=none; d=google.com; s=arc-20160816; b=hMUFav8g31otSqhrWfM0UVmyKnGSDso4hrUGxfqs4GEWyoLzmW/Ayz1dmu67lWaJeY x+m4EjC+MZmTwb/cgqk8ZYvzTnLMju01jw5NSZVCNzYaU4TGipwEaZtyl2FVYbat5BtH H5BWTi/8DYWwAGt7Mp8naDdTLbu22O0dcjcnMjgncINSJyVTbkVmnhNXSD1r7jahMmbG 0mwJuLcMDJ3RBv+XQoJegfc/XB/KsOtdTKD/8fyYqmfIBLIu031YbR1ukiaDH+h/tK2U 11pQ0EqWq+H1bsEgjUWsnNPavYrFmDgHQ/ym9TXCpozlkCf2V6afR7C9nqYNBQq4SUJu pt+A== 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=SLnK7CqEVSiDV/TKdGc0Ayy8cyN1CqMRsYeXdRf/AuE=; b=Jx5/RAQZ63PmckWvWj4EXRKpcnenYY1pJKoSukS7J4wdYPM6ZfuX6/LHKclefTRTrC zN37VkaUF+7IldRHzrskRMyh3gN7qVdE+m4Wvr/hD1rtt9gDvH71ND2vMCvfyYUgAt4u 10ghD8bgTi38ng88vBeTiIzOH8DUhnfHimeltNTOt+/Oi6ly/OkNgVynrMQOPFYOmtEe SqF6gpYUPaarqK08issC5y/rR4T1eSRHmdIxOFP92wEOo0yWPIUp8lY1p/FzoW96/dw9 Ya01m1uhs9xtVA97V2zaYk8zsoE1FXXABpTWye9wfmWywXdgIfy/ZeqJA0LGb2i822NY sjhA== 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=lSl6ft8Y; 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 f3si2278350wre.22.2017.11.08.16.14.22; Wed, 08 Nov 2017 16:14:23 -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=lSl6ft8Y; 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 F2D91267931; Thu, 9 Nov 2017 01:12:35 +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 B242F267663; Wed, 8 Nov 2017 22:38:29 +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 D13D0267684 for ; Wed, 8 Nov 2017 22:31:50 +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=j9IfCuJn3lsEq1z0wRzUY7u/ZGXNqv1Diiwl0pXAJU0=; b=lSl6ft8YRRfr vweam7On4BUbSuoCNzBYODvN8/hPH0fPe5BITLyPrLQ7w9HmSk7KdSDqpK1ms1NRcmrHboz4qwXD8 UmnTvFEK4A6C7QkZWUy5UNCNMWvYhocVOJY9mXRxiYBKtHGukOl3AXkVmUQrBJautNc3mhfaalwfa wF7+s=; 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 1eCXwa-0003fZ-LD; Wed, 08 Nov 2017 21:31:32 +0000 Received: from broonie by debutante with local (Exim 4.89) (envelope-from ) id 1eCXwZ-0005JF-Nw; Wed, 08 Nov 2017 21:31:31 +0000 From: Mark Brown To: Gustavo A. R. Silva In-Reply-To: Message-Id: Date: Wed, 08 Nov 2017 21:31:31 +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: tlv320dac31xx: 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: tlv320dac31xx: 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 09fc38c1af4cb888255e9ecf267bf9757c12885d Mon Sep 17 00:00:00 2001 From: "Gustavo A. R. Silva" Date: Wed, 8 Nov 2017 14:04:17 -0600 Subject: [PATCH] ASoC: tlv320dac31xx: mark expected switch fall-through In preparation to enabling -Wimplicit-fallthrough, mark switch cases where we are expecting to fall through. Addresses-Coverity-ID: 1195220 Signed-off-by: Gustavo A. R. Silva Signed-off-by: Mark Brown --- sound/soc/codecs/tlv320aic31xx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 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/tlv320aic31xx.c b/sound/soc/codecs/tlv320aic31xx.c index 54a87a905eb6..e2862372c26e 100644 --- a/sound/soc/codecs/tlv320aic31xx.c +++ b/sound/soc/codecs/tlv320aic31xx.c @@ -929,7 +929,7 @@ static int aic31xx_set_dai_fmt(struct snd_soc_dai *codec_dai, case SND_SOC_DAIFMT_I2S: break; case SND_SOC_DAIFMT_DSP_A: - dsp_a_val = 0x1; + dsp_a_val = 0x1; /* fall through */ case SND_SOC_DAIFMT_DSP_B: /* NOTE: BCLKINV bit value 1 equas NB and 0 equals IB */ switch (fmt & SND_SOC_DAIFMT_INV_MASK) {