Message ID | 20231117141344.64320-2-mstrozek@opensource.cirrus.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:9910:0:b0:403:3b70:6f57 with SMTP id i16csp556830vqn; Fri, 17 Nov 2023 06:14:44 -0800 (PST) X-Google-Smtp-Source: AGHT+IEMjenddWh82pq8sb17cSFR8CXtdpoVOALs07zIZwaa1dxNOBt6Gh8WfeGj99GoJJlLZ59M X-Received: by 2002:a05:6a00:3a06:b0:6c6:9b11:f73f with SMTP id fj6-20020a056a003a0600b006c69b11f73fmr18641122pfb.28.1700230484515; Fri, 17 Nov 2023 06:14:44 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700230484; cv=none; d=google.com; s=arc-20160816; b=hkLwlKcRe+hxi6S6CXmxZ2nFooYbzxTmii7HYySPolpItDZSCnEdljVDk1wRvwVSlS WfvM/jQ/iY0gkrTQoBu/NjpGc80zsPJLwH46iluWpUgSK1vdcaMiH9iL9Oy0iWiGCvan d4oP2H4o57XycZ5buEexYMTsipTbxmYfCAkNeaQvlylO3Z1Cn+/n4jQAVPoIkI9wQ29b i6rqSw+JldJTRS7lAjYFIJ+GHWJ8h/00tubXZO/I18Xlv2y/9yHHQ9AZQ/a3iT0tkr7Y /Tjrq2gOqaQS+1rfEdLraRv7LJ2x6EQur2AzSWJSYd68o39da6kYKs6w/wSkKKiN4rD8 Fnqw== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=Rj31nEuXsSCk5S72HM5/0U8eQA9XedhRN77KOYy0rEc=; fh=KySyJaCx6e9HlRw2D2oLQPSdTHBwZsIBeFoG7LcS+QY=; b=z5BvKhjK89LtRyEiCsKnlWwgz5xIxNmGVGasGRvQUGvUHcOhWu6FrtEb4fDLwu3rO2 jQMH1dlkQw9YSdHYLJZU1NnvOpsH2mT+5r3R1lDFwy+3QHJm8Qy9v+d2etdaObkODh1i 0Go00J1ColFBLEL2XNTr7bNtKSbCaV1dCWHGaLavF0bQKy0NoX+aJZwoyFuqS92pY3SD Z7zd26VT3SB9bDwrasR584jrTTdnE9I6iJ6KPi3L1p6rsNKuITN26KgMyRUYrWu1+Cvb ToCChbKGM4s4V7qh4qLLQe7N+0vBVOXiGMgIjyOecA8+qrl6HpLkq/qrlGJdLGs9EWg4 6fGQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@cirrus.com header.s=PODMain02222019 header.b=RhUfxQJ8; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=cirrus.com Received: from fry.vger.email (fry.vger.email. [23.128.96.38]) by mx.google.com with ESMTPS id f13-20020a056a001acd00b0068fe9c452acsi2012698pfv.376.2023.11.17.06.14.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 17 Nov 2023 06:14:44 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) client-ip=23.128.96.38; Authentication-Results: mx.google.com; dkim=pass header.i=@cirrus.com header.s=PODMain02222019 header.b=RhUfxQJ8; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=cirrus.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by fry.vger.email (Postfix) with ESMTP id B7CE782E4827; Fri, 17 Nov 2023 06:14:23 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1346030AbjKQOOM (ORCPT <rfc822;jaysivo@gmail.com> + 30 others); Fri, 17 Nov 2023 09:14:12 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37750 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230383AbjKQOOG (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Fri, 17 Nov 2023 09:14:06 -0500 Received: from mx0b-001ae601.pphosted.com (mx0a-001ae601.pphosted.com [67.231.149.25]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C1B6911F; Fri, 17 Nov 2023 06:14:02 -0800 (PST) Received: from pps.filterd (m0077473.ppops.net [127.0.0.1]) by mx0a-001ae601.pphosted.com (8.17.1.22/8.17.1.22) with ESMTP id 3AH8IefJ017599; Fri, 17 Nov 2023 08:13:50 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cirrus.com; h= from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding:content-type; s= PODMain02222019; bh=Rj31nEuXsSCk5S72HM5/0U8eQA9XedhRN77KOYy0rEc=; b= RhUfxQJ8pl6931XOouMdOsG6XQZm3qajmsdSRweujS/XDFRS3QNfACauvAUOQjO3 Emt3wQLGvVFAhe/VEo6DW5SMC0EtHRgQWtGrtn4Sj4jg44TJfSmX+WMHdi6EXLhi LRMl1tQZkEqZxMKd9baKnHO1zyXVdVnjGahSh9CT/dM3+8PEG6CrtkWgGFv4eUHk YiRW+mREP8nD0cPuYw1We7IpeTJDYcfTV2dlwwia69lUhxy3VxSFG8RdjmO/82eh 6iPigQlOPzdZvc1UjbGnWREkZGRQK7xTt5y6nwXOdGNbQI6CJ1aQ5MsILLWoZR4t F+PP9ek4Km5asZDpPGLzFQ== Received: from ediex01.ad.cirrus.com ([84.19.233.68]) by mx0a-001ae601.pphosted.com (PPS) with ESMTPS id 3ua7w2qj86-2 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 17 Nov 2023 08:13:50 -0600 (CST) Received: from ediex01.ad.cirrus.com (198.61.84.80) by ediex01.ad.cirrus.com (198.61.84.80) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.39; Fri, 17 Nov 2023 14:13:46 +0000 Received: from ediswmail.ad.cirrus.com (198.61.86.93) by ediex01.ad.cirrus.com (198.61.84.80) with Microsoft SMTP Server id 15.2.1118.39 via Frontend Transport; Fri, 17 Nov 2023 14:13:46 +0000 Received: from upx-tgl-008-ubuntu.ad.cirrus.com (upx-tgl-008-ubuntu.ad.cirrus.com [198.90.251.167]) by ediswmail.ad.cirrus.com (Postfix) with ESMTP id B42EB15B9; Fri, 17 Nov 2023 14:13:46 +0000 (UTC) From: Maciej Strozek <mstrozek@opensource.cirrus.com> To: Mark Brown <broonie@kernel.org> CC: James Schulman <james.schulman@cirrus.com>, David Rhodes <david.rhodes@cirrus.com>, Liam Girdwood <lgirdwood@gmail.com>, <alsa-devel@alsa-project.org>, <patches@opensource.cirrus.com>, <linux-sound@vger.kernel.org>, <linux-kernel@vger.kernel.org>, Maciej Strozek <mstrozek@opensource.cirrus.com> Subject: [PATCH 1/7] ASoC: cs43130: Fix the position of const qualifier Date: Fri, 17 Nov 2023 14:13:38 +0000 Message-ID: <20231117141344.64320-2-mstrozek@opensource.cirrus.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20231117141344.64320-1-mstrozek@opensource.cirrus.com> References: <20231117141344.64320-1-mstrozek@opensource.cirrus.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Proofpoint-ORIG-GUID: d4OMc01Oymr7hSgMxSeUVKB8YTLgZnv1 X-Proofpoint-GUID: d4OMc01Oymr7hSgMxSeUVKB8YTLgZnv1 X-Proofpoint-Spam-Reason: safe X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on fry.vger.email Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (fry.vger.email [0.0.0.0]); Fri, 17 Nov 2023 06:14:23 -0800 (PST) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1782820880513857093 X-GMAIL-MSGID: 1782820880513857093 |
Series |
ASoC: cs43130: Fixes and improvements
|
|
Commit Message
Maciej Strozek
Nov. 17, 2023, 2:13 p.m. UTC
Signed-off-by: Maciej Strozek <mstrozek@opensource.cirrus.com>
---
sound/soc/codecs/cs43130.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/sound/soc/codecs/cs43130.c b/sound/soc/codecs/cs43130.c index 0b40fdfb1825..20f06679b8f7 100644 --- a/sound/soc/codecs/cs43130.c +++ b/sound/soc/codecs/cs43130.c @@ -1682,7 +1682,7 @@ static ssize_t hpload_dc_r_show(struct device *dev, return cs43130_show_dc(dev, buf, HP_RIGHT); } -static u16 const cs43130_ac_freq[CS43130_AC_FREQ] = { +static const u16 cs43130_ac_freq[CS43130_AC_FREQ] = { 24, 43, 93, @@ -2362,7 +2362,7 @@ static const struct regmap_config cs43130_regmap = { .use_single_write = true, }; -static u16 const cs43130_dc_threshold[CS43130_DC_THRESHOLD] = { +static const u16 cs43130_dc_threshold[CS43130_DC_THRESHOLD] = { 50, 120, };