From patchwork Fri Oct 5 13:26:17 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mark Brown X-Patchwork-Id: 148176 Delivered-To: patch@linaro.org Received: by 2002:a2e:8595:0:0:0:0:0 with SMTP id b21-v6csp450680lji; Fri, 5 Oct 2018 06:26:28 -0700 (PDT) X-Google-Smtp-Source: ACcGV63BB2do7KMjvk6OsYkW37NubxIhS7bwHdHECEFyBTH//tF5Y/IH9fmlA3Hx2cBLAPUPCf3P X-Received: by 2002:a1c:6543:: with SMTP id z64-v6mr8187590wmb.57.1538745988427; Fri, 05 Oct 2018 06:26:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1538745988; cv=none; d=google.com; s=arc-20160816; b=HqPzAdnWosdv/fiAwU57wI/HlGLD2f41j+WTOn67p15nYP594ZkdiUNPzBkZ1b5ahR 0WyWHt1ye2JvWqh3/K6mhpDSfv/V219OE3IFg7zdCwdCbDGmHKfuV3hoz99+0CU3jf5x w80HuiHcsXIrfuvtdzpOeNanePPNMDcYZLlDV4ei1KllrSd1Q3ot1tYjfepZjOhKFQFs Fip/+Pcebc3h43UNmpV/eZ8WBL+RmZPpzbe17Ggl2CBxWJf/ICYmK4ezcROw07bQ47EZ MDdtQy13JcMWlw4Ab0AvumzjIezC9Jz2EN3gWUo9+UVUVh/rb3Q4FBneC/SnFjb/rlr9 tBRg== 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; bh=mPt+rFr/kF0Glk5J+t7a0e4/uv5Yl2oVtzQv3DmzEGA=; b=rPIIamH3rfiQeamoYk44BnMuUYhw4KSNSqPU08vzFH7yq4rvPc60+Os00DjFlHHS/U H0/NqSrxKpf5KTqx9iGgUHl+WsTJUcM0LdkGOq8jmzSxR94Yl0IWpwcaUqkByHSCZ55g ZttP1tRKmU3IaFZ/H3tdqozF9JmKaMX+Pxthl0FvYH/ZQZx7yp1xOfeVEdO/CRaNNjie yIJrKzBk5fiz1OjcSNFlv5PhIdXs3zd6KICSeX//AolwgstsM6B0NUqUf8K3iHhUYpzF HnXHM9+T819tCHWA4rnD8BLUjXm32F2jCZAQ6/PJNcA0d2x1fOl28aKbew/AQrRf7Ndr JD3g== 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=D6aSRVjO; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from alsa0.perex.cz (alsa0.perex.cz. [77.48.224.243]) by mx.google.com with ESMTP id j8-v6si6587838wrs.82.2018.10.05.06.26.28; Fri, 05 Oct 2018 06:26:28 -0700 (PDT) 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=D6aSRVjO; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from alsa0.perex.cz (localhost [127.0.0.1]) by alsa0.perex.cz (Postfix) with ESMTP id F3D9226793A; Fri, 5 Oct 2018 15:26:22 +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 AEC8026793C; Fri, 5 Oct 2018 15:26:20 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mail1.perex.cz X-Spam-Level: X-Spam-Status: No, score=0.2 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS,RCVD_IN_DNSWL_NONE 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 BF52E26793A for ; Fri, 5 Oct 2018 15:26:18 +0200 (CEST) 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=sYZWHA/ogRqittFx/7pKUdJ7EeG0nOlCEujqCjY5cxU=; b=D6aSRVjO9Rw/ SPoYIiTtNww+eJ/OfmX9vgF9BLL0uBgg7EJgjSv9LHk5B0fL7EhVKjgJ0+jNGvO7MOyzWx6MX2li+ UE4o3tZWAZMM63V0UUWSmkFnQbFUsleuG0hndJaVd3CoQj2l305Y49J8DZmWSmsvgZwDHnhgTdkYe F5Av0=; Received: from cpc102320-sgyl38-2-0-cust46.18-2.cable.virginm.net ([82.37.168.47] helo=debutante.sirena.org.uk) by heliosphere.sirena.org.uk with esmtpa (Exim 4.89) (envelope-from ) id 1g8Q7W-0004PM-59; Fri, 05 Oct 2018 13:26:18 +0000 Received: by debutante.sirena.org.uk (Postfix, from userid 1000) id DCD7D112229A; Fri, 5 Oct 2018 14:26:17 +0100 (BST) From: Mark Brown To: Takashi Iwai In-Reply-To: <20181004183006.23983-4-tiwai@suse.de> Message-Id: <20181005132617.DCD7D112229A@debutante.sirena.org.uk> Date: Fri, 5 Oct 2018 14:26:17 +0100 (BST) Cc: Oder Chiou , alsa-devel@alsa-project.org, Lars-Peter Clausen , Jie Yang , Liam Girdwood , Pierre-Louis Bossart , Mark Brown , Bard Liao Subject: [alsa-devel] Applied "ASoC: rt274: Add fall-through annotations" 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: rt274: Add fall-through annotations 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 0beeb4baf56bd9deb920712a4034541fb33bbbe0 Mon Sep 17 00:00:00 2001 From: Takashi Iwai Date: Thu, 4 Oct 2018 20:30:04 +0200 Subject: [PATCH] ASoC: rt274: Add fall-through annotations As a preparatory patch for the upcoming -Wimplicit-fallthrough compiler checks, add the "fall through" annotations in rt274 driver. Signed-off-by: Takashi Iwai Signed-off-by: Mark Brown --- sound/soc/codecs/rt274.c | 2 ++ 1 file changed, 2 insertions(+) -- 2.19.0.rc2 _______________________________________________ Alsa-devel mailing list Alsa-devel@alsa-project.org http://mailman.alsa-project.org/mailman/listinfo/alsa-devel diff --git a/sound/soc/codecs/rt274.c b/sound/soc/codecs/rt274.c index d88e67341083..0ef966d56bac 100644 --- a/sound/soc/codecs/rt274.c +++ b/sound/soc/codecs/rt274.c @@ -755,6 +755,7 @@ static int rt274_set_dai_pll(struct snd_soc_dai *dai, int pll_id, int source, break; default: dev_warn(component->dev, "invalid pll source, use BCLK\n"); + /* fall through */ case RT274_PLL2_S_BCLK: snd_soc_component_update_bits(component, RT274_PLL2_CTRL, RT274_PLL2_SRC_MASK, RT274_PLL2_SRC_BCLK); @@ -782,6 +783,7 @@ static int rt274_set_dai_pll(struct snd_soc_dai *dai, int pll_id, int source, break; default: dev_warn(component->dev, "invalid freq_in, assume 4.8M\n"); + /* fall through */ case 100: snd_soc_component_write(component, 0x7a, 0xaab6); snd_soc_component_write(component, 0x7b, 0x0301);