Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp744196imm; Thu, 13 Sep 2018 07:08:21 -0700 (PDT) X-Google-Smtp-Source: ANB0Vdab2l2Wrc8O4QjLcRvY4TDGyIynYkOrXmHPNlBC1cxVONDk0Xn5cpxGpk8kboNPND7dKw7s X-Received: by 2002:a17:902:8215:: with SMTP id x21-v6mr7397785pln.175.1536847701935; Thu, 13 Sep 2018 07:08:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536847701; cv=none; d=google.com; s=arc-20160816; b=K4RwPZsHvuqaw4ALSjdZ9LUWYLTWPx6liQUrA9SyZNkiFIVeJ6ndnvyZAD5rQzg31W BpPpPxc9ZZliHH4W8xSF9+8GzkAnDutySIo/Oc3Qler2c3iQ7DomVp3xQ4bD1WHqLmht B0l1e1YDr+HmsEuImNzbplFUv9iaMItqremhW0i9q3Rw+Z7URNkPtF31VD6ty1j0vmtQ IjW7GFM06nMLBm+AMRkT6AnBqH2DBuvXaF6Nt4BlLV0wzwu8PYKeORDfoBjBnZorIoME NUf1ywV7olAuAGlP2J/hgf7Zw5b7AKPre/SQFW1o9uCG91qUWyf+r2LaTUGAGY1mvY+l eLrg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from; bh=oMz9BilNvMLjQiRQ3w8fvYmHPftrSjK9LvxJlrsv4B0=; b=JpN8HJaScdRJe8iIuRSU+w6zadzPAuJ6ZESFBXikQBJaeEfom7O2pkhRbHSSO1zcGO nmYHTyCU9Kd/jZrjO7+oiFZ74yH23S+RpsL0n9MArm2+Vtx5xKb5mRccWrOPtR7qeq7L kboQ3Vx0oYNrrwvTG6RcO1gsIZFuD98lCDvrDVv67RZWdhbaYOOql3VAflkZoMwfay23 lzbMeVb/nqtceZvRWIs5UGdwkycCE9JtIPjPLTfmzff5e993Zoo62QXszmFOdOmEIR7R qe5/9ywdQ5MSMmbr6j36CSTdY1KTQfidNLLtAKxq5K1E5yIJsV955fKd2HQ9q4b1U8fz 0GxQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id cf16-v6si4361969plb.254.2018.09.13.07.08.05; Thu, 13 Sep 2018 07:08:21 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732225AbeIMTQR (ORCPT + 99 others); Thu, 13 Sep 2018 15:16:17 -0400 Received: from mail.linuxfoundation.org ([140.211.169.12]:35626 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730009AbeIMTQR (ORCPT ); Thu, 13 Sep 2018 15:16:17 -0400 Received: from localhost (ip-213-127-77-73.ip.prioritytelecom.net [213.127.77.73]) by mail.linuxfoundation.org (Postfix) with ESMTPSA id 0CCB1D3B; Thu, 13 Sep 2018 14:06:36 +0000 (UTC) From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Valdis Kletnieks , "Gustavo A. R. Silva" , Charles Keepax , Mark Brown Subject: [PATCH 4.18 197/197] ASoC: wm8994: Fix missing break in switch Date: Thu, 13 Sep 2018 15:32:26 +0200 Message-Id: <20180913131849.434576823@linuxfoundation.org> X-Mailer: git-send-email 2.19.0 In-Reply-To: <20180913131841.568116777@linuxfoundation.org> References: <20180913131841.568116777@linuxfoundation.org> User-Agent: quilt/0.65 X-stable: review MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 4.18-stable review patch. If anyone has any objections, please let me know. ------------------ From: Gustavo A. R. Silva commit ad0eaee6195db1db1749dd46b9e6f4466793d178 upstream. Add missing break statement in order to prevent the code from falling through to the default case. Addresses-Coverity-ID: 115050 ("Missing break in switch") Reported-by: Valdis Kletnieks Signed-off-by: Gustavo A. R. Silva Acked-by: Charles Keepax Signed-off-by: Mark Brown Cc: stable@vger.kernel.org [Gustavo: Backported to 3.16..4.18 - Remove code comment removal] Signed-off-by: Gustavo A. R. Silva Signed-off-by: Greg Kroah-Hartman --- sound/soc/codecs/wm8994.c | 1 + 1 file changed, 1 insertion(+) --- a/sound/soc/codecs/wm8994.c +++ b/sound/soc/codecs/wm8994.c @@ -2432,6 +2432,7 @@ static int wm8994_set_dai_sysclk(struct snd_soc_component_update_bits(component, WM8994_POWER_MANAGEMENT_2, WM8994_OPCLK_ENA, 0); } + break; default: return -EINVAL;