From patchwork Thu Apr 11 08:43:01 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Shengjiu Wang X-Patchwork-Id: 10895313 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 435AD17E6 for ; Thu, 11 Apr 2019 08:44:04 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 29919285C6 for ; Thu, 11 Apr 2019 08:44:04 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 1D0982886B; Thu, 11 Apr 2019 08:44:04 +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 1F9DE285C6 for ; Thu, 11 Apr 2019 08:44:02 +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 CDADD84C; Thu, 11 Apr 2019 10:43:10 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz CDADD84C DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1554972240; bh=+xSsjunU5JH0eHPksyDWVk5Lwsbfqwbo+LkpSICvnZQ=; h=From:To:Date:Cc:Subject:List-Id:List-Unsubscribe:List-Archive: List-Post:List-Help:List-Subscribe:From; b=DNoDF8ch0LnkDrNWo81tTUQNWG0cnhi6LeLdpAsGo4LnKI4sEUnrEEUhrsRm+EpGF FzKGM1+zFmc+7fBw23IJuXc8uUDAoVmTZ2DkiOIGfhQaiScEa3LixCW5UPolTY4NGn cqzlJXxTAbZ+qVEG8UBiDaLC5nRBKCUWhsT62eu8= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id 3C6EEF80716; Thu, 11 Apr 2019 10:43:10 +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 2BFCAF89636; Thu, 11 Apr 2019 10:43:08 +0200 (CEST) Received: from EUR01-VE1-obe.outbound.protection.outlook.com (mail-eopbgr140073.outbound.protection.outlook.com [40.107.14.73]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id D1E77F80716 for ; Thu, 11 Apr 2019 10:43:03 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz D1E77F80716 Authentication-Results: alsa1.perex.cz; dkim=pass (1024-bit key) header.d=nxp.com header.i=@nxp.com header.b="KYctovrz" 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=Lft6uG8B3h4bZQPbRGHxQ5yiuIRrTYbFHVOZdfGQvHA=; b=KYctovrzG6UkpbbUjfrx4hq4YQPABUNxEb1nSFEciTwt/0bKTeI5q2fh4EXlfYWioSx0RJ3zPG02m/I2pvRS/wBo/yNI52SMcST95CU/mbiSJcTOdmJs3cmPL6jzslVfr7AxBLuXla0ZrNzGKJcwInJfg/IAkqWKztVPNapax+I= Received: from AM0PR04MB6468.eurprd04.prod.outlook.com (20.179.253.81) by AM0PR04MB5908.eurprd04.prod.outlook.com (20.178.203.95) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1771.19; Thu, 11 Apr 2019 08:43:02 +0000 Received: from AM0PR04MB6468.eurprd04.prod.outlook.com ([fe80::107:1bdc:981e:e292]) by AM0PR04MB6468.eurprd04.prod.outlook.com ([fe80::107:1bdc:981e:e292%4]) with mapi id 15.20.1792.009; Thu, 11 Apr 2019 08:43:02 +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 V5] ASoC: fsl_esai: Fix missing break in switch statement Thread-Index: AQHU8EKSn+xtFGxdPk+wdQI8DtgB1w== Date: Thu, 11 Apr 2019 08:43:01 +0000 Message-ID: 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: HK2PR02CA0170.apcprd02.prod.outlook.com (2603:1096:201:1f::30) To AM0PR04MB6468.eurprd04.prod.outlook.com (2603:10a6:208:16e::17) 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: 951e6f9f-5bb2-4d40-483a-08d6be59b4e9 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:AM0PR04MB5908; x-ms-traffictypediagnostic: AM0PR04MB5908: x-microsoft-antispam-prvs: x-forefront-prvs: 00046D390F x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(979002)(39860400002)(136003)(396003)(376002)(366004)(346002)(199004)(189003)(26005)(53936002)(4326008)(3846002)(25786009)(54906003)(102836004)(81166006)(36756003)(6116002)(97736004)(2906002)(6486002)(110136005)(66066001)(2501003)(316002)(50226002)(6436002)(105586002)(106356001)(52116002)(8936002)(14454004)(186003)(256004)(6506007)(8676002)(71190400001)(71200400001)(508600001)(2201001)(386003)(118296001)(4744005)(486006)(81156014)(5660300002)(2616005)(14444005)(6512007)(86362001)(7736002)(68736007)(476003)(305945005)(99286004)(969003)(989001)(999001)(1009001)(1019001); DIR:OUT; SFP:1101; SCL:1; SRVR:AM0PR04MB5908; H:AM0PR04MB6468.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: rSGhESaR96Spdmhbc0J+5tQHqb5qOkuSS/f61LPe05eKKq2Sp2FUunEsj0OLNdZJF7Dr9b3KBW2a7urMN6libFMTCGrtdo8/ggriM3NpFUH9PCGFF6Btw/f0am/hwCMoOeZwFeqKF70DJMOWH0TvRWAaIB7g38nga+DqIwRHeE4q7xHH9KJjWdeer4ZoK+GsrCpplowcvHE0O1yuH1GJFjLK2jyXlkTbpAVr1868qNSN74hcwWm0R3zhIBS1uGOwa5hzi57KJW7fereFfQPVYUDgKNMk4QIcVOmPVRfB/FBXjHqToRpCNxB895RWWtM/d6A0vgZcaxmV0NHaUmj9OnC6mZoj8ctNGs8SJNfwWk3UDBEo1TjEAHBnodapFqI28VHuk5ratxHcDEBGz5speW5brwlxqISw7WzxWoDiqws= MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 951e6f9f-5bb2-4d40-483a-08d6be59b4e9 X-MS-Exchange-CrossTenant-originalarrivaltime: 11 Apr 2019 08:43:02.0010 (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: AM0PR04MB5908 Cc: "linuxppc-dev@lists.ozlabs.org" , "linux-kernel@vger.kernel.org" Subject: [alsa-devel] [PATCH V5] 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: --- Changes in v5 - remove new line after Fixes Changes in v4 - Add acked-by Changes in v3 - Update subject line and cc stable Changes in v2 - Fix "Fixes" tag 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;