Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp352240rwd; Thu, 8 Jun 2023 01:22:20 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5E/aMCx09oD2k4sC/XfA7r9mZ45T4qsmM3C96j+iYZR6s1QN0Rb1oCdumn74vd7cIYIsIW X-Received: by 2002:a05:6359:a16:b0:126:3906:64e5 with SMTP id el22-20020a0563590a1600b00126390664e5mr6934217rwb.28.1686212539799; Thu, 08 Jun 2023 01:22:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686212539; cv=none; d=google.com; s=arc-20160816; b=bzuhMHKigqzZavmfrdXNjO0xGipR+ZdsttALAtYX6WtczbXYtd6ep1FJ4J1//8965W 6p4/deOGZycavbYpqBT6L/zsdjh+26lPmg30bSpmDfMOM+TqQ4IMFAW8HRLmbtkEZCT/ ykDpeXvSnSDs0XyX41lOIbcL7D7YfP+WKbLpFAa3FlbAdUK77SPNhbTyXLrRJJkyvAW6 7pk+bzhtR+asvzaN7wu5482etmlmb+UYEVN6fcQy3xpOerXWCRy0FE8UANKsKm4xCuHA F/MSrBwoPmlS3tRvOUJmUUkdStNKUgZHOsLOAe9MpmvfE0nYUNhLWo/VISkPeNu43o86 ZiRw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=dICEQ9wWjlrvuWZFuZsvtTGVNojkoxJtuNP+bYW47fk=; b=D6thS0PZIXGyBfdLx5i9kdrSrD1UTgJQl0vVrlC6qnfX2aQhnwhjRcJKvKIqPvIl7v YMOMYMsGngomGV7IsXaexTyPnAvlWZxgSxpPcx6OnNWl1FyNi5sg2sdiod7WrD0IWRPO zCMMfIZwZyHlnYEkcEbLPYCi4YPebd8t5gTBZkjblbiM+1Nf9o9SemHhv+X0KMZW795q 38amwdVseHcBMddlRhbc4eBuz6Jo8xbs614eD7cyLTgclys9lRkEyy+03ewjsbB84X8F UfATbgNweBYFXEQno1A7mVERsiYun29J8yr9YJMOaJezhaAOtl2QGxhWDXPxalXvjFVR LBIg== 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=alibaba.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id s70-20020a632c49000000b0053f2551834fsi640590pgs.552.2023.06.08.01.22.07; Thu, 08 Jun 2023 01:22:19 -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=alibaba.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233739AbjFHH4C (ORCPT + 99 others); Thu, 8 Jun 2023 03:56:02 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46556 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232417AbjFHH4A (ORCPT ); Thu, 8 Jun 2023 03:56:00 -0400 Received: from out30-132.freemail.mail.aliyun.com (out30-132.freemail.mail.aliyun.com [115.124.30.132]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 59D2B19BB for ; Thu, 8 Jun 2023 00:55:58 -0700 (PDT) X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R491e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=ay29a033018045168;MF=jiapeng.chong@linux.alibaba.com;NM=1;PH=DS;RN=8;SR=0;TI=SMTPD_---0VkdWBH-_1686210941; Received: from localhost(mailfrom:jiapeng.chong@linux.alibaba.com fp:SMTPD_---0VkdWBH-_1686210941) by smtp.aliyun-inc.com; Thu, 08 Jun 2023 15:55:53 +0800 From: Jiapeng Chong To: lgirdwood@gmail.com Cc: broonie@kernel.org, perex@perex.cz, tiwai@suse.com, alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org, Jiapeng Chong , Abaci Robot Subject: [PATCH] ASoC: max98088: clean up some inconsistent indenting Date: Thu, 8 Jun 2023 15:55:40 +0800 Message-Id: <20230608075540.61575-1-jiapeng.chong@linux.alibaba.com> X-Mailer: git-send-email 2.20.1.7.g153144c MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-9.9 required=5.0 tests=BAYES_00, ENV_AND_HDR_SPF_MATCH,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE,UNPARSEABLE_RELAY,USER_IN_DEF_SPF_WL 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 No functional modification involved. sound/soc/codecs/max98088.c:316 m98088_eq_band() warn: inconsistent indenting. Reported-by: Abaci Robot Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=5461 Signed-off-by: Jiapeng Chong --- sound/soc/codecs/max98088.c | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/sound/soc/codecs/max98088.c b/sound/soc/codecs/max98088.c index fb136e2b849b..8b56ee550c09 100644 --- a/sound/soc/codecs/max98088.c +++ b/sound/soc/codecs/max98088.c @@ -310,24 +310,24 @@ static const struct regmap_config max98088_regmap = { static void m98088_eq_band(struct snd_soc_component *component, unsigned int dai, unsigned int band, u16 *coefs) { - unsigned int eq_reg; - unsigned int i; + unsigned int eq_reg; + unsigned int i; if (WARN_ON(band > 4) || WARN_ON(dai > 1)) return; - /* Load the base register address */ - eq_reg = dai ? M98088_REG_84_DAI2_EQ_BASE : M98088_REG_52_DAI1_EQ_BASE; + /* Load the base register address */ + eq_reg = dai ? M98088_REG_84_DAI2_EQ_BASE : M98088_REG_52_DAI1_EQ_BASE; - /* Add the band address offset, note adjustment for word address */ - eq_reg += band * (M98088_COEFS_PER_BAND << 1); + /* Add the band address offset, note adjustment for word address */ + eq_reg += band * (M98088_COEFS_PER_BAND << 1); - /* Step through the registers and coefs */ - for (i = 0; i < M98088_COEFS_PER_BAND; i++) { - snd_soc_component_write(component, eq_reg++, M98088_BYTE1(coefs[i])); - snd_soc_component_write(component, eq_reg++, M98088_BYTE0(coefs[i])); - } + /* Step through the registers and coefs */ + for (i = 0; i < M98088_COEFS_PER_BAND; i++) { + snd_soc_component_write(component, eq_reg++, M98088_BYTE1(coefs[i])); + snd_soc_component_write(component, eq_reg++, M98088_BYTE0(coefs[i])); + } } /* -- 2.20.1.7.g153144c