From patchwork Wed Nov 8 21:31:52 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mark Brown X-Patchwork-Id: 118350 Delivered-To: patch@linaro.org Received: by 10.140.22.164 with SMTP id 33csp5932050qgn; Wed, 8 Nov 2017 16:14:47 -0800 (PST) X-Google-Smtp-Source: ABhQp+SEAlSKGHWzBv3eJ266Dre8FaiYUgEfNAt8C7AJVPj5Ov+liWHhLWufeY0ltiWtlYVOZ4iY X-Received: by 10.28.113.84 with SMTP id m81mr1829773wmc.134.1510186486939; Wed, 08 Nov 2017 16:14:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1510186486; cv=none; d=google.com; s=arc-20160816; b=fS6f+LyRd9NBmyIfDCNib1azLgC4s4h5rWZ+GwKAr9vXGB7pqNlwXADSMUtU/Ohguu VCOGdmx1bsMTxGWgrtsU06jdSm+TEtb04/3+xos/rRjPmnpDJ7aze6auyzKM/Q4QkINL WtMqoTEM5EzH3emOwhOUiCOh5pOFrgUoDX18yUbOqAGVVy1f4BYl8UVSFl1K3lSGfwlX WEVZtSEVx2Go9dkcCKBgQEti4vN89qGmMAYQRG366rcUaOD+JNaTPQi8RYgvW3kshvkc 2XwQbqc8mlWJ5ZvoxkI9Jv8sn17zBfy1i6ARx3b8WZdAt+A/7q7oji9iJJuj8wmZY0ix 0S5w== 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=q8iVululRZEIEP1yLd1/iqKB3zDnU/a2fxkoUxTWMN0=; b=MD0FJHlzfG7TqJR8gjIMd2WWY/2xTmWA9jl2hNiKtBlFtibKaaubMeL6YatvzC/Ja1 puEKFpqxKkMLAXK67QExqmForkeXEqKRfT3zeOJntCKrhqS/PcMDC9WpQTi1cJ1juJP9 HJ4RJ1U2rgtd6d7otmASabZkFlicsbjalSejlwBq0gm24Ehgec7/V92nFBsxQ03G4SKn 5MB1BXSQqEwnWftkywvhMjbHXPhSQaSwIEhZLVhW0xwnuRINRb9tOhr2rIM63IVdoWRy L+Q2qxsM1yl30uHGKA1l7yB6LGIyHSYQfYI/GwZCFMvxwIo3PG//fAqUMCHgxMW2iikH I0Og== 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=Tn4iV2If; 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 61si2723655wrh.459.2017.11.08.16.14.46; Wed, 08 Nov 2017 16:14:46 -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=Tn4iV2If; 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 3AA152679A1; Thu, 9 Nov 2017 01:12:40 +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 615F12676DC; Wed, 8 Nov 2017 22:38:37 +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 D4832267662 for ; Wed, 8 Nov 2017 22:33:44 +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=0ihR/jWRy2uDkGPD0K2CmxvI9QG/bDyJYiNoGvoyIFI=; b=Tn4iV2IfbpTl e+3Vol6u5ZLRV8akZhOpUWZpRSeAR7zjzLAS9bGxj6WNZTRpDP0dDtBNkW3DdE8B6Tuf01Ql4FMmr WuYNTWUhLV+LovgSymxmsSSFo3xw+0IoxBEzCP4pAUMYuyJXpMg4Iz018EWqyVpZLoh8jdZzvChDn K1jfU=; 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 1eCXwv-0003fy-G9; Wed, 08 Nov 2017 21:31:53 +0000 Received: from broonie by debutante with local (Exim 4.89) (envelope-from ) id 1eCXwu-0005M0-Lm; Wed, 08 Nov 2017 21:31:52 +0000 From: Mark Brown To: Gustavo A. R. Silva In-Reply-To: <2ab74b1aac4e26dcc083e09e9e066770a00dd8ca.1510170034.git.garsilva@embeddedor.com> Message-Id: Date: Wed, 08 Nov 2017 21:31:52 +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: msm8916-wcd-analog: 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: msm8916-wcd-analog: 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 dc10622bb32f08383cf5a9942a91042d8f38bf3d Mon Sep 17 00:00:00 2001 From: "Gustavo A. R. Silva" Date: Wed, 8 Nov 2017 14:04:09 -0600 Subject: [PATCH] ASoC: msm8916-wcd-analog: mark expected switch fall-through In preparation to enabling -Wimplicit-fallthrough, mark switch cases where we are expecting to fall through. Addresses-Coverity-ID: 1397957 Signed-off-by: Gustavo A. R. Silva Signed-off-by: Mark Brown --- sound/soc/codecs/msm8916-wcd-analog.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/msm8916-wcd-analog.c b/sound/soc/codecs/msm8916-wcd-analog.c index 549c269acc7d..518fa2a4ac78 100644 --- a/sound/soc/codecs/msm8916-wcd-analog.c +++ b/sound/soc/codecs/msm8916-wcd-analog.c @@ -614,6 +614,7 @@ static int pm8916_wcd_analog_enable_adc(struct snd_soc_dapm_widget *w, case CDC_A_TX_2_EN: snd_soc_update_bits(codec, CDC_A_MICB_1_CTL, MICB_1_CTL_CFILT_REF_SEL_MASK, 0); + /* fall through */ case CDC_A_TX_3_EN: snd_soc_update_bits(codec, CDC_D_CDC_CONN_TX2_CTL, CONN_TX2_SERIAL_TX2_MUX,