From patchwork Thu Oct 5 13:55:59 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Charles Keepax X-Patchwork-Id: 13410077 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id EE56FE92701 for ; Thu, 5 Oct 2023 13:57:28 +0000 (UTC) Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id 29CB9AE8; Thu, 5 Oct 2023 15:56:36 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 29CB9AE8 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1696514246; bh=Clk1zZLcTD1RtS8dpxd9g0bTbs5O9DBW/U2ou7FQ7F8=; h=From:To:CC:Subject:Date:In-Reply-To:References:List-Id: List-Archive:List-Help:List-Owner:List-Post:List-Subscribe: List-Unsubscribe:From; b=sl9Cixenrl9ZQ5ANYTISnQiHiIAy3+JmrlRMFP8Wm/Zyt0z2w9HniNfVVd+719Nfh mYRqx+LSZ8Xruw1ROUlBU15wE8Og1dH85Vu5a834XopUFHqlMB2ixmS671ZN9OrhON Ahoh1DxJ3ie4SZch05eJx//N91J7FEVFKShU88ow= Received: by alsa1.perex.cz (Postfix, from userid 50401) id 5B33FF801EB; Thu, 5 Oct 2023 15:56:15 +0200 (CEST) Received: from mailman-core.alsa-project.org (mailman-core.alsa-project.org [10.254.200.10]) by alsa1.perex.cz (Postfix) with ESMTP id 9FF0CF801EB; Thu, 5 Oct 2023 15:56:14 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 5763EF80549; Thu, 5 Oct 2023 15:56:10 +0200 (CEST) Received: from mx0b-001ae601.pphosted.com (mx0b-001ae601.pphosted.com [67.231.152.168]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id 15895F801EB for ; Thu, 5 Oct 2023 15:56:03 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 15895F801EB Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key, unprotected) header.d=cirrus.com header.i=@cirrus.com header.a=rsa-sha256 header.s=PODMain02222019 header.b=muxLXexF Received: from pps.filterd (m0077474.ppops.net [127.0.0.1]) by mx0b-001ae601.pphosted.com (8.17.1.22/8.17.1.22) with ESMTP id 395B5dCC026417; Thu, 5 Oct 2023 08:56:01 -0500 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=B/JJ0o25OMiXh7ZKoyzaRdrsMaOHfw5utqUGnF502pg=; b= muxLXexFQVaTYS+OUnvK+vD3ePXj5MQNUN2XBNgkrDRrFPVVrN3ako5UbCtH6NjX 32FUqjFQvsP9n1UFGThiuoKX5e8h0CKPi7b3bUEy4ST29eOgV8dQvPPDfv4ZKAUg 230V/zLzHQble3AuLa5ICZT47+qjqXMcNYCD3PNyrqvAFl4IPosut2ZYbzld8SRf q6pDBhwg0xqPlMQijO/cpQbChqFWcdx2/ggoXv3Pu1i6hr7+Rrp5JcPeOUg36hTG Xl3yAWv5DSDPGBtR7WAcHUdGt1CRNnxRQ2OEwmgtbLiJe80oOV2FuV941Yh4Ck+V rF58WUtAnsUOwHQdJ4ezVw== Received: from ediex02.ad.cirrus.com ([84.19.233.68]) by mx0b-001ae601.pphosted.com (PPS) with ESMTPS id 3teg3k6uxw-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 05 Oct 2023 08:56:01 -0500 (CDT) Received: from ediex01.ad.cirrus.com (198.61.84.80) by ediex02.ad.cirrus.com (198.61.84.81) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.37; Thu, 5 Oct 2023 14:56:00 +0100 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.37 via Frontend Transport; Thu, 5 Oct 2023 14:55:59 +0100 Received: from algalon.ad.cirrus.com (algalon.ad.cirrus.com [198.90.251.122]) by ediswmail.ad.cirrus.com (Postfix) with ESMTP id DDDB9356C; Thu, 5 Oct 2023 13:55:59 +0000 (UTC) From: Charles Keepax To: CC: , , , , , , Subject: [PATCH 2/2] ASoC: cs42l43: Update values for bias sense Date: Thu, 5 Oct 2023 14:55:59 +0100 Message-ID: <20231005135559.3117994-2-ckeepax@opensource.cirrus.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20231005135559.3117994-1-ckeepax@opensource.cirrus.com> References: <20231005135559.3117994-1-ckeepax@opensource.cirrus.com> MIME-Version: 1.0 X-Proofpoint-GUID: 2cXeees9VrZ9_8QpEIge3kkBQw2I4eKL X-Proofpoint-ORIG-GUID: 2cXeees9VrZ9_8QpEIge3kkBQw2I4eKL X-Proofpoint-Spam-Reason: safe Message-ID-Hash: 3JBD6VYXKL6OGHZIGOSFWWNLLV2EEMV6 X-Message-ID-Hash: 3JBD6VYXKL6OGHZIGOSFWWNLLV2EEMV6 X-MailFrom: prvs=5642f9fbf5=ckeepax@opensource.cirrus.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-alsa-devel.alsa-project.org-0; header-match-alsa-devel.alsa-project.org-1; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.8 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: Due to an error in the datasheet the bias sense values currently don't match the hardware. Whilst this is a change to the binding no devices have yet shipped so updating the binding will not cause any issues. Signed-off-by: Charles Keepax --- sound/soc/codecs/cs42l43-jack.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sound/soc/codecs/cs42l43-jack.c b/sound/soc/codecs/cs42l43-jack.c index 861f9ee671cdf..73454de068cf8 100644 --- a/sound/soc/codecs/cs42l43-jack.c +++ b/sound/soc/codecs/cs42l43-jack.c @@ -34,7 +34,7 @@ static const unsigned int cs42l43_accdet_db_ms[] = { static const unsigned int cs42l43_accdet_ramp_ms[] = { 10, 40, 90, 170 }; static const unsigned int cs42l43_accdet_bias_sense[] = { - 14, 23, 41, 50, 60, 68, 86, 95, 0, + 14, 24, 43, 52, 61, 71, 90, 99, 0, }; static int cs42l43_find_index(struct cs42l43_codec *priv, const char * const prop,