From patchwork Thu Apr 11 03:05:28 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Shengjiu Wang X-Patchwork-Id: 10895087 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 133D11390 for ; Thu, 11 Apr 2019 04:02:01 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id EDD571FFDB for ; Thu, 11 Apr 2019 04:02:00 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id E1EFA28AEB; Thu, 11 Apr 2019 04:02:00 +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 B8EEA28A86 for ; Thu, 11 Apr 2019 04:01:58 +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 7BC4084D; Thu, 11 Apr 2019 05:05:37 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 7BC4084D DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1554951987; bh=+2WKYjyr8M0wkeDPWdha3M6MxnI/E/JQ8Ph4d5wV5eM=; h=From:To:Date:Cc:Subject:List-Id:List-Unsubscribe:List-Archive: List-Post:List-Help:List-Subscribe:From; b=kBQ8TyuB52buZLmWVuEYqTxssuuNPBm2VT56FvHzkNwnn1fqUWQIhRb8hoPV22+3K 8pPEJp5T1+kY1AIconGpz3KhdH0yh0cIQCRsTSoR3rjMm9aQ8AA6zUMBL77v3jYSoI xH+/1Cx1wd3XiPINSiXPJ1Yj0isrfzfpodctz7dk= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id 7C76AF89625; Thu, 11 Apr 2019 05:05:36 +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 BC238F89636; Thu, 11 Apr 2019 05:05:34 +0200 (CEST) Received: from EUR04-HE1-obe.outbound.protection.outlook.com (mail-eopbgr70080.outbound.protection.outlook.com [40.107.7.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id 5BDD8F89616 for ; Thu, 11 Apr 2019 05:05:30 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 5BDD8F89616 Authentication-Results: alsa1.perex.cz; dkim=pass (1024-bit key) header.d=nxp.com header.i=@nxp.com header.b="BBd8DQUK" 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=HfmrgzwrB+CUG5F7KSmcUzeieZNEfzFUwBh9eQFiW/0=; b=BBd8DQUKhJtIylPMlW1ZVYDXo4t7Td1gmQu25QjSa22BwEUHHOURZw59eq8fHQk4KjGoUVN1LArXlwq+6cQ8k+xImP5n8BCJBDxVdBMrVxN+BlRRsylx+mbyn5I5Z258Mwu50PCLjbzTVfP04UnDnEo9jsWbl2ZeMd3Tof1EX0k= Received: from VE1PR04MB6479.eurprd04.prod.outlook.com (20.179.233.80) by VE1PR04MB6638.eurprd04.prod.outlook.com (20.179.235.81) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1771.13; Thu, 11 Apr 2019 03:05:28 +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; Thu, 11 Apr 2019 03:05:28 +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 V4] ASoC: fsl_esai: Fix missing break in switch statement Thread-Index: AQHU8BNqkr8hG19y0ka8fOSQOK0Z5g== Date: Thu, 11 Apr 2019 03:05:28 +0000 Message-ID: <6b953e991b303a26791facbb680efe25d3cc33c3.1554951841.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: HK2PR0401CA0023.apcprd04.prod.outlook.com (2603:1096:202:2::33) 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: 027c89f2-6f31-418e-b0c6-08d6be2a8cd0 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:VE1PR04MB6638; x-ms-traffictypediagnostic: VE1PR04MB6638: x-microsoft-antispam-prvs: x-forefront-prvs: 00046D390F x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(366004)(396003)(136003)(346002)(39860400002)(376002)(199004)(189003)(36756003)(99286004)(68736007)(53936002)(6506007)(25786009)(86362001)(118296001)(26005)(6486002)(6512007)(6436002)(106356001)(4326008)(50226002)(105586002)(52116002)(186003)(102836004)(316002)(386003)(3846002)(97736004)(305945005)(2906002)(2201001)(2616005)(4744005)(486006)(110136005)(2501003)(14444005)(66066001)(8676002)(476003)(14454004)(71200400001)(7736002)(508600001)(81166006)(81156014)(6116002)(256004)(8936002)(5660300002)(71190400001); DIR:OUT; SFP:1101; SCL:1; SRVR:VE1PR04MB6638; 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: oPZuQWyitvBfmf0nFHahsOwyzVtEbSN4GO98Dz2hpiRK8AG+4ZN7JPha/fKVlgRzmxhVZENScL0+BCGJs8+IxKJtVz4XZzFWk/sLb98qlY0zU/KNNtzIug7VC4bsnbr7PRAKz5h2QOSjbYxQn9OTha/RPU9hPv8CFXrK2mVtiAjByAhbI9RVF7W7rThcGCuMzfTs9unNSOBVuFAr4cRziYQlUZC4IVmrXFDg/00JY0lGu4qydNnzbhmBkJbpc53ZEWqDFd4aeoethI31LfaOF191Ovu7pD0k/sfTCW5xAZwJz833miXldj725QqFlPmtZwrIIBPEK3FvnAnHO56JVmNC6X4x86fN2zRcOppuO6aBkJNCZq+cO0aPiYs5l5TLXWyyiGcEtnLFDJ5q+x+cmB7TuVx6AUNc2kUWCpGWJzc= MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 027c89f2-6f31-418e-b0c6-08d6be2a8cd0 X-MS-Exchange-CrossTenant-originalarrivaltime: 11 Apr 2019 03:05:28.6239 (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: VE1PR04MB6638 Cc: "linuxppc-dev@lists.ozlabs.org" Subject: [alsa-devel] [PATCH V4] ASoC: fsl_esai: Fix missing break in switch statement 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: 43d24e76b698 ("ASoC: fsl_esai: Add ESAI CPU DAI driver") Signed-off-by: Shengjiu Wang Acked-by: Nicolin Chen Cc: --- Change in v4 - Add Acked-by and cc stable - change the subject 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 3623aa9a6f2e..15202a637197 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_ECR_ERI; break;