From patchwork Wed Nov 8 21:31:26 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mark Brown X-Patchwork-Id: 118351 Delivered-To: patch@linaro.org Received: by 10.140.22.164 with SMTP id 33csp5932200qgn; Wed, 8 Nov 2017 16:14:59 -0800 (PST) X-Google-Smtp-Source: ABhQp+Tnyn9Ptlj7REsX/qoTI4rRBQryPznUQYMQti22E+pLHzfFsB+vKA81Pv8C6+5c7Z6tfcds X-Received: by 10.28.131.2 with SMTP id f2mr1496988wmd.137.1510186498933; Wed, 08 Nov 2017 16:14:58 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1510186498; cv=none; d=google.com; s=arc-20160816; b=psGqqowh65XNbKkcU8dN5Qz0XAMaYu+LEH2NuBXxkc6EKncFvVgLPq5r+Y/zHHKW/2 jY8vB7cGM+5eZ0KXc82rcQdBPa4bSXSz1fvJktMiVqVQ/tyzf74fBPPFhaA9frHA6wGU xf4oikHzmLHKX6fRAR+N6eyTgk9boQ6OmBJkfPmY28xfglRVHGa1BjL6vAxIm9HuiuDz c6rDOmw4SuTBkjm+4ZWFfhMRQ8HXcmsk5R3NOk0sge0FnxMUWZy1XHGFL1d0GLyemVEh oJL4VzjXfDjB5qQvcC7Nnlk4xNUWYPzElnvHPsX77mvbf3WDzs1bMxe3GJWr01b3ebZb y5nQ== 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=CI/Ddnquu/6ByM+lO5danNlRc9d+eLKsQXelp2vHZJU=; b=qY70M4rE/FH+oYEVrRZCckW7Y1Wpy4e/b49fySavrZ/ksJ40KqX1TYE5QWKieUqCZi TrOfbwJy2VcGXmk5ZaTgP6ki8umv1fg/pKNHXwljJlNd7vPnorwHwUprUIPABxeRlcvM Vu3PPWh+qjFMz/3tyVZAyrccPOHqLoHdhHBhR/lPFWG26IRyVb0tmIaW/f53EJhi1MBm UyYvSWtieZrvlDS4rCFRx4NGPR/O/V3c68Gfj212CmB2HVfGyRC0Z2+cXOdUr6geWQcX UsK75jkLjSFlJsv8tvmsuDkuLYMyzLbWYIgyDkwdKU/GCvGb+lJ3FSaDMuxfMXQRBDlz jw1A== 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=dFUYlnZI; 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.58; Wed, 08 Nov 2017 16:14:58 -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=dFUYlnZI; 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 AE9832679AD; Thu, 9 Nov 2017 01:12:42 +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 2E62F267638; Wed, 8 Nov 2017 22:38:31 +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 BA350267680 for ; Wed, 8 Nov 2017 22:31:45 +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=EfP6XHdi6gG2m9SFqdIgiOnKCFFAWkV8s7rjPvXByAE=; b=dFUYlnZIdKmI Dvu0SIQy5fd5vErnVt8YhybWdXHuyBJHxqyYFKqn0C+CUUQuNhJn5chh1P0p1LUoJ6kLh+3k4EN9V +J/4/DPmAaOppQgaToAy170Iih0MLRtkdgjY1irdIfe+bfb1mrtfyAH4guAargtFKy9cq2acEys/+ CwFbY=; 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-0003fP-LL; Wed, 08 Nov 2017 21:31:27 +0000 Received: from broonie by debutante with local (Exim 4.89) (envelope-from ) id 1eCXwU-0005IF-QN; Wed, 08 Nov 2017 21:31:26 +0000 From: Mark Brown To: Gustavo A. R. Silva In-Reply-To: Message-Id: Date: Wed, 08 Nov 2017 21:31:26 +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: tpa6130a2: 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: tpa6130a2: 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 402954f8e573e4b610da6858b8431d4edfd754c8 Mon Sep 17 00:00:00 2001 From: "Gustavo A. R. Silva" Date: Wed, 8 Nov 2017 14:04:22 -0600 Subject: [PATCH] ASoC: tpa6130a2: mark expected switch fall-through In preparation to enabling -Wimplicit-fallthrough, mark switch cases where we are expecting to fall through. Addresses-Coverity-ID: 115164 Signed-off-by: Gustavo A. R. Silva Signed-off-by: Mark Brown --- sound/soc/codecs/tpa6130a2.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/tpa6130a2.c b/sound/soc/codecs/tpa6130a2.c index 2e014c80d113..616cd4bebd01 100644 --- a/sound/soc/codecs/tpa6130a2.c +++ b/sound/soc/codecs/tpa6130a2.c @@ -274,6 +274,7 @@ static int tpa6130a2_probe(struct i2c_client *client, default: dev_warn(dev, "Unknown TPA model (%d). Assuming 6130A2\n", data->id); + /* fall through */ case TPA6130A2: regulator = "Vdd"; break;