Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp1961527iob; Thu, 5 May 2022 11:54:23 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwCh1uPhW/hYRb339sPvF2S/90XdAULm1GEQY32kCd8BMCKE4IgVB7yOonw8OvmHfG4Y+vw X-Received: by 2002:a05:6402:2804:b0:420:caf1:961c with SMTP id h4-20020a056402280400b00420caf1961cmr31851426ede.280.1651776863310; Thu, 05 May 2022 11:54:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1651776863; cv=none; d=google.com; s=arc-20160816; b=VDucRQpNwv+ayWJv8OJAXJKW6vCBoJc1FlaabPMkS3RQ+PlWBLPBQf4XkeX49CYoDp cgVX/5SIhIHtE1cWqj1ZA+lKUpdOaxL4pcIv4WHOAmZOCmNVyRNnpHubbLTkmGJ7i2jU ch3nt0w4sTabkBX7SiOU6tbeNB1JGVPcohw1YinLUCBLin5UestJ9pnBv/C/YLVcSQNi 9vzjbt9w/ezsUrq4VLO7NrMqk5BlC5uwXvfAtfrhqN6koFKFMF32sSm2g/LwsU9eNr1L TM09IsSuleqawMFsbWD4rl5MVZmIY/KYKImBMFhbYFeGwTCHz7QqXNIZPAXoR6wOOstO 5bUQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:date:subject:cc:to:from; bh=dDzJeJKUmiIJLoG93oxNl1QI2MnmDQ7u47aOwZ5wrkU=; b=QkAramiHoy+Kqpe7XbJufgBOl8JO6iQ2aFrYMURuB4KyGS337c3Zr8uTNfjo4b9hTf 9iy7xZBvA8CWj6a5eEOZGYTWerDd40y1S7SZjhiCI0uzIcH+8XM/bIuA63yARAlej7zU t6HOg7PcB27xO06uifaDvYWiAQhhNbG2jQWlzw2X2D04BXm/Ez04HNxIpVNOjja0no7v AeC58KWI8FQ2GwQE58AppzS2WQ4X0Jtb485bS0t5iKlmvQtlK5+elcwy+/pcuni3/4C/ V+HxI5eQNEtV8gA7vH5RyMmeEXIvSaQqdrcLEO917qKuTNJRbfq9QacaXjsCCSa9s7He QTxA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id dz22-20020a0564021d5600b0042600135621si3464999edb.546.2022.05.05.11.53.57; Thu, 05 May 2022 11:54:23 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345906AbiEEHto (ORCPT + 99 others); Thu, 5 May 2022 03:49:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56014 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S242799AbiEEHtl (ORCPT ); Thu, 5 May 2022 03:49:41 -0400 Received: from inva021.nxp.com (inva021.nxp.com [92.121.34.21]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C6D891D33C for ; Thu, 5 May 2022 00:46:00 -0700 (PDT) Received: from inva021.nxp.com (localhost [127.0.0.1]) by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id 6FC4F200216; Thu, 5 May 2022 09:45:59 +0200 (CEST) Received: from aprdc01srsp001v.ap-rdc01.nxp.com (aprdc01srsp001v.ap-rdc01.nxp.com [165.114.16.16]) by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id 385A1200215; Thu, 5 May 2022 09:45:59 +0200 (CEST) Received: from localhost.localdomain (shlinux2.ap.freescale.net [10.192.224.44]) by aprdc01srsp001v.ap-rdc01.nxp.com (Postfix) with ESMTP id AA0BB180031A; Thu, 5 May 2022 15:45:57 +0800 (+08) From: Shengjiu Wang To: nicoleotsuka@gmail.com, Xiubo.Lee@gmail.com, festevam@gmail.com, shengjiu.wang@gmail.com, lgirdwood@gmail.com, broonie@kernel.org, perex@perex.cz, tiwai@suse.com, s.hauer@pengutronix.de, alsa-devel@alsa-project.org Cc: linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org Subject: [PATCH] ASoC: fsl_micfil: fix the naming style for mask definition Date: Thu, 5 May 2022 15:34:07 +0800 Message-Id: <1651736047-28809-1-git-send-email-shengjiu.wang@nxp.com> X-Mailer: git-send-email 2.7.4 X-Virus-Scanned: ClamAV using ClamSMTP X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Remove the _SHIFT for the mask definition. Fixes: 17f2142bae4b ("ASoC: fsl_micfil: use GENMASK to define register bit fields") Signed-off-by: Shengjiu Wang --- sound/soc/fsl/fsl_micfil.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/sound/soc/fsl/fsl_micfil.h b/sound/soc/fsl/fsl_micfil.h index 08901827047d..053caba3caf3 100644 --- a/sound/soc/fsl/fsl_micfil.h +++ b/sound/soc/fsl/fsl_micfil.h @@ -74,9 +74,9 @@ #define MICFIL_FIFO_STAT_FIFOX_UNDER(ch) BIT((ch) + 8) /* MICFIL HWVAD0 Control 1 Register -- REG_MICFIL_VAD0_CTRL1*/ -#define MICFIL_VAD0_CTRL1_CHSEL_SHIFT GENMASK(26, 24) -#define MICFIL_VAD0_CTRL1_CICOSR_SHIFT GENMASK(19, 16) -#define MICFIL_VAD0_CTRL1_INITT_SHIFT GENMASK(12, 8) +#define MICFIL_VAD0_CTRL1_CHSEL GENMASK(26, 24) +#define MICFIL_VAD0_CTRL1_CICOSR GENMASK(19, 16) +#define MICFIL_VAD0_CTRL1_INITT GENMASK(12, 8) #define MICFIL_VAD0_CTRL1_ST10 BIT(4) #define MICFIL_VAD0_CTRL1_ERIE BIT(3) #define MICFIL_VAD0_CTRL1_IE BIT(2) @@ -106,7 +106,7 @@ /* MICFIL HWVAD0 Zero-Crossing Detector - REG_MICFIL_VAD0_ZCD */ #define MICFIL_VAD0_ZCD_ZCDTH GENMASK(25, 16) -#define MICFIL_VAD0_ZCD_ZCDADJ_SHIFT GENMASK(11, 8) +#define MICFIL_VAD0_ZCD_ZCDADJ GENMASK(11, 8) #define MICFIL_VAD0_ZCD_ZCDAND BIT(4) #define MICFIL_VAD0_ZCD_ZCDAUT BIT(2) #define MICFIL_VAD0_ZCD_ZCDEN BIT(0) -- 2.17.1