From patchwork Thu Sep 5 16:17:54 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mathieu Poirier X-Patchwork-Id: 173158 Delivered-To: patch@linaro.org Received: by 2002:a05:6e02:ce:0:0:0:0 with SMTP id r14csp935080ilq; Thu, 5 Sep 2019 09:18:18 -0700 (PDT) X-Google-Smtp-Source: APXvYqx3NQI1rCpnMxZtBr0jUCb3a2d64dqwXNTMRs/RCe4ovxyQSO1GzTIPVrnlWF9fbkZGEhaJ X-Received: by 2002:a63:ff65:: with SMTP id s37mr3878157pgk.102.1567700298768; Thu, 05 Sep 2019 09:18:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1567700298; cv=none; d=google.com; s=arc-20160816; b=BxChHuV8rRzwCWRLtEJk3eM7/DnqzSHowiSzclD/kqI4Baz+/sFGlqJELIwpjWb+le qasBYjkbuF3JWgWs76cknpxr8MLIcYT+JexQuGQFmhMkIkqZgXkOKaPcvi54xyMQnlwI zGAGOocSKM3z06GBM4oDRBHDNuo7Bm3abbT9knZNmnWcLMqwJrGzi+vLmaDO1ieGlze1 MHhvRVselRzfnigPZ0mjcTHu5M9rMhjrhqIWMORzHK6PaB64OP4jPS/wd0TwFtZ0ClqJ V9mL7VJFTtqzpLefD3l+w4p8IH09NDdoTnELU34gbqV+njz9cZjxrTrVuiuyDYzVuuQC eXqw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature; bh=Ny7YX6BxIHZBg/a0IXvofczDmYcoW0RMjpIj9iNxGYI=; b=nG5HJ3DcTjj5HtoPg50lvwg6DD52LhdBhy8szz+Pn3+UVUJm+K+giqI7PKvROcfeTU zrU2D7CcHGmext7oxSDjXq5uWBAwhMBx70uP3Sp9vNuOot/JM0i5/Gmt6+3V9l3ZwjtX YH/MgKfI8rj0euWk6K2m2WQk19mxb+PW32O3arCkdrXbIdzG4dQeChJSwUHZi34UyJ8J Kt0+ycnLoV6hSCR2MY598a6x2YxNoB7F20sMPE3IQ80M0gpX2D3tGK2r7c+1+tDXSbix cEUXDzAZ5/aIOBJlCcOhh8lB2YA6mSgkQc10HiNudlZv7AYnEVqRqWxz1oeeEPYF0Eyh GkEw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=YlFW1oYk; spf=pass (google.com: best guess record for domain of linux-omap-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-omap-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id x8si2375086pjn.58.2019.09.05.09.18.18; Thu, 05 Sep 2019 09:18:18 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-omap-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=YlFW1oYk; spf=pass (google.com: best guess record for domain of linux-omap-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-omap-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2387413AbfIEQSR (ORCPT + 5 others); Thu, 5 Sep 2019 12:18:17 -0400 Received: from mail-pg1-f182.google.com ([209.85.215.182]:37487 "EHLO mail-pg1-f182.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388462AbfIEQSR (ORCPT ); Thu, 5 Sep 2019 12:18:17 -0400 Received: by mail-pg1-f182.google.com with SMTP id d1so1686755pgp.4 for ; Thu, 05 Sep 2019 09:18:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=Ny7YX6BxIHZBg/a0IXvofczDmYcoW0RMjpIj9iNxGYI=; b=YlFW1oYkgedY1H7kdvtntMbQozGn3kOxCMqp2NIumUNGka9YZY56mm/5JnjNo8a6sg BpG6Faq+3L6/s3liaVWlfJHdXuBMamArc6Tke+yxoc3WFo/JaJ3GGn7dtJ+2eGI/ZSPm WmOtxGPCrHlhUdg0lKZxrCxzFFciRcVyZ4C2H/w5nX6/ePlCd5vC7MVmOunp7NW+n+KY kwRBcBObjxbXwA0p2AO+21wka8/782dXgpI6hfmtYJ3uAgtu6VJVYXFKQIJ0U+B9Jx+a cnY4OkG7/6sBLkpOWgOpybs5Q6WX+6CfltrwCTUB6XO+nb6zY7AjGP6RiFK/d+51XXVM jSow== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=Ny7YX6BxIHZBg/a0IXvofczDmYcoW0RMjpIj9iNxGYI=; b=HAPRk7ehMbzcQd/YN2t4jUBfHPMJlGiv/lBY80VZIyreHd4awvDguoJ5N5Ep/hr8EO UZGwefrzNLb/AfeKsI5nAQ+NIVitlJT4p11+1b+aTm2IibsvDumijbgVCvU7bJkJIaQt Wh456Vt4affdADlxxWMLUGiSksTG6Q/Lh2DAWF5d5PFwyYmbXdqifPCWxVcGcJtqtRvl fzAss/85ecQSKj7Fawwam4Uki57ecMaqpA03JwG2fPfXYX1R08VXwkV5cSc6QPcFdij9 iAN+QStwni8cDwokbziPUYhgNF7yL0XcPiBSSgpyXlbNCbi0djXiPyb3CVowyIhORO34 aD8w== X-Gm-Message-State: APjAAAWCT4nn7z/tQa1UA8m8DQSx1hCzPBwZqxP1ZePAwhSXnnVo1XUE ffQCxjPLW2BEy0pYuMlLeAqfXg== X-Received: by 2002:aa7:920b:: with SMTP id 11mr4734304pfo.231.1567700296683; Thu, 05 Sep 2019 09:18:16 -0700 (PDT) Received: from xps15.cg.shawcable.net (S0106002369de4dac.cg.shawcable.net. [68.147.8.254]) by smtp.gmail.com with ESMTPSA id m129sm6324005pga.39.2019.09.05.09.18.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 05 Sep 2019 09:18:16 -0700 (PDT) From: Mathieu Poirier To: stable@vger.kernel.org Cc: linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-omap@vger.kernel.org, linux-i2c@vger.kernel.org, linux-pci@vger.kernel.org, linux-mtd@lists.infradead.org Subject: [BACKPORT 4.14.y 13/18] ASoC: tlv320dac31xx: mark expected switch fall-through Date: Thu, 5 Sep 2019 10:17:54 -0600 Message-Id: <20190905161759.28036-14-mathieu.poirier@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190905161759.28036-1-mathieu.poirier@linaro.org> References: <20190905161759.28036-1-mathieu.poirier@linaro.org> Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org From: "Gustavo A. R. Silva" commit 09fc38c1af4cb888255e9ecf267bf9757c12885d upstream 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 Signed-off-by: Mathieu Poirier --- sound/soc/codecs/tlv320aic31xx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.17.1 diff --git a/sound/soc/codecs/tlv320aic31xx.c b/sound/soc/codecs/tlv320aic31xx.c index d3bd0bf15ddb..cc95c15ceceb 100644 --- a/sound/soc/codecs/tlv320aic31xx.c +++ b/sound/soc/codecs/tlv320aic31xx.c @@ -941,7 +941,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: This CODEC samples on the falling edge of BCLK in