From patchwork Mon Apr 8 09:28:06 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Shengjiu Wang X-Patchwork-Id: 10889215 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id E35BF17EF for ; Mon, 8 Apr 2019 09:46:55 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C4CF526E69 for ; Mon, 8 Apr 2019 09:46:55 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id B853028635; Mon, 8 Apr 2019 09:46:55 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 5769526E69 for ; Mon, 8 Apr 2019 09:46:54 +0000 (UTC) Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id 978BD953; Mon, 8 Apr 2019 11:28:32 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 978BD953 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1554715762; bh=SsRhSFKuJUIupH52e8ZT/N26KAQFxESsp7FjM/vUepk=; h=From:To:Date:Cc:Subject:List-Id:List-Unsubscribe:List-Archive: List-Post:List-Help:List-Subscribe:From; b=V8ytcViJmXd0+MQyOywa2TFgMWVeYkDs/pjHrr+yqTOpF6HroXq0aPwd7vXCLQ0SJ 83qFT6+s+6Ao8Wl52G5WmKaOhVKhaBXj1ovrFgGkceEOg/+B3c9MisS5NHVwWjMRf7 NTZ8Db4OBnRW56y8wZ2pg95no8ecXh2sj4liYg8o= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id F1EDEF89610; Mon, 8 Apr 2019 11:28:30 +0200 (CEST) X-Original-To: alsa-devel@alsa-project.org Delivered-To: alsa-devel@alsa-project.org Received: by alsa1.perex.cz (Postfix, from userid 50401) id E0F09F896DD; Mon, 8 Apr 2019 11:28:22 +0200 (CEST) Received: from EUR01-DB5-obe.outbound.protection.outlook.com (mail-eopbgr150085.outbound.protection.outlook.com [40.107.15.85]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id B09C8F89610 for ; Mon, 8 Apr 2019 11:28:08 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz B09C8F89610 Authentication-Results: alsa1.perex.cz; dkim=pass (1024-bit key) header.d=nxp.com header.i=@nxp.com header.b="aWkGOm+x" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=P6Z+VtR6NhxBeqRZrfE3KBBMqf0pfxQzOUZTO2V6Dm4=; b=aWkGOm+xTySxPz7uBIqUi4cZZorgmjBM9t7xnXssDtIO53cYBGa2PMkE9GiQEv33s3Qo8L42bV3GZ9Ua2MDI/dnwWV3z16ONbGPdSFXrT2RnNhUv0BFWimeRVhb4XGvBrb8f47bOKJKA3WqgVU7o0jmKXC+iKGcA3avuBJ4S2Kg= Received: from VE1PR04MB6479.eurprd04.prod.outlook.com (20.179.233.80) by VE1PR04MB6384.eurprd04.prod.outlook.com (20.179.232.15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1771.16; Mon, 8 Apr 2019 09:28:06 +0000 Received: from VE1PR04MB6479.eurprd04.prod.outlook.com ([fe80::6c03:86ad:729d:e311]) by VE1PR04MB6479.eurprd04.prod.outlook.com ([fe80::6c03:86ad:729d:e311%6]) with mapi id 15.20.1771.016; Mon, 8 Apr 2019 09:28:06 +0000 From: "S.j. Wang" To: "timur@kernel.org" , "nicoleotsuka@gmail.com" , "Xiubo.Lee@gmail.com" , "festevam@gmail.com" , "broonie@kernel.org" , "alsa-devel@alsa-project.org" , "gustavo@embeddedor.com" Thread-Topic: [PATCH V1] ASoC: fsl_esai: replace fall-through with break Thread-Index: AQHU7e1fLmmYRIJqIECtUR/V3RQ9hA== Date: Mon, 8 Apr 2019 09:28:06 +0000 Message-ID: <66c117128f300b0ec5f278f538412789c78b60a6.1554715589.git.shengjiu.wang@nxp.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-mailer: git-send-email 1.9.1 x-clientproxiedby: HK2PR02CA0130.apcprd02.prod.outlook.com (2603:1096:202:16::14) To VE1PR04MB6479.eurprd04.prod.outlook.com (2603:10a6:803:11e::16) authentication-results: spf=none (sender IP is ) smtp.mailfrom=shengjiu.wang@nxp.com; x-ms-exchange-messagesentrepresentingtype: 1 x-originating-ip: [119.31.174.66] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: f046d2d4-4094-45bb-e191-08d6bc048168 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600139)(711020)(4605104)(4618075)(2017052603328)(7193020); SRVR:VE1PR04MB6384; x-ms-traffictypediagnostic: VE1PR04MB6384: x-microsoft-antispam-prvs: x-forefront-prvs: 0001227049 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(136003)(39860400002)(346002)(366004)(396003)(376002)(199004)(189003)(86362001)(256004)(53936002)(4326008)(71190400001)(26005)(2616005)(106356001)(81166006)(71200400001)(305945005)(102836004)(14444005)(2501003)(105586002)(14454004)(476003)(6512007)(316002)(99286004)(486006)(110136005)(6506007)(5660300002)(81156014)(118296001)(2201001)(6486002)(66066001)(6116002)(52116002)(8936002)(386003)(50226002)(97736004)(7736002)(3846002)(36756003)(2906002)(6436002)(8676002)(478600001)(4744005)(68736007)(25786009)(186003); DIR:OUT; SFP:1101; SCL:1; SRVR:VE1PR04MB6384; H:VE1PR04MB6479.eurprd04.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; received-spf: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: gWvLURVCpgseKJhxBnrN6oyV2ZKnRT2WsfvOSKvDMCt5Z2xeAkW7kiTVQk9Mxxr0eGwakF3n1alaZQJKtC2053PXdbfO1PJUuw4hZZ5V/mQ2bTJ0Tfs7Ti+zL+IWQVmCVQ/1SWcsD13NvhkqbHtDILy50ktrbJgfswUnKIR/Eway9xkc60o9/QEkUGxXM9iw2R4LbK2k9HvoJfU4ZWxUswOCM5aiITWPFchX4r2x/pApXkHZZwbSOhGZuhhwywS0Sxmokg0SS1+APYlqeLOFYP3rmktI1mp0uRm+5Hqq3WMrBOwiPLooMEVLrbCYU4Yb8P4WiUvk7oCPC1MmaUj0E2CFnl98VzvvIhNdpEBew8MXRvFJqseyuoSrlJYbtldt2AYJ+c4sEtDu8Mq214YIcTa79Evee2UdYqGcFeWJGxQ= MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: f046d2d4-4094-45bb-e191-08d6bc048168 X-MS-Exchange-CrossTenant-originalarrivaltime: 08 Apr 2019 09:28:06.1722 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-Transport-CrossTenantHeadersStamped: VE1PR04MB6384 Cc: "linuxppc-dev@lists.ozlabs.org" Subject: [alsa-devel] [PATCH V1] ASoC: fsl_esai: replace fall-through with break X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.15 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: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: "Alsa-devel" X-Virus-Scanned: ClamAV using ClamSMTP case ESAI_HCKT_EXTAL and case ESAI_HCKR_EXTAL should be independent of each other, so replace fall-through with break. Fixes: 16bbeb2b43c3 ("ASoC: fsl_esai: Mark expected switch fall-through") Signed-off-by: Shengjiu Wang Acked-by: Nicolin Chen --- sound/soc/fsl/fsl_esai.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sound/soc/fsl/fsl_esai.c b/sound/soc/fsl/fsl_esai.c index c7410bbfd2af..bad0dfed6b68 100644 --- a/sound/soc/fsl/fsl_esai.c +++ b/sound/soc/fsl/fsl_esai.c @@ -251,7 +251,7 @@ static int fsl_esai_set_dai_sysclk(struct snd_soc_dai *dai, int clk_id, break; case ESAI_HCKT_EXTAL: ecr |= ESAI_ECR_ETI; - /* fall through */ + break; case ESAI_HCKR_EXTAL: ecr |= esai_priv->synchronous ? ESAI_ECR_ETI : ESAI_ECR_ERI; break;