Received: by 2002:ab2:6857:0:b0:1ef:ffd0:ce49 with SMTP id l23csp2391989lqp; Sun, 24 Mar 2024 17:25:07 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVXLikmWwSG0/YBCCvZgSd8/W9wGVtEuV8UegnDfxulkQIum/Rzl0kzaKWByPHrXj3d5wjVPVxywTjvuweihkOs/f79ZtOTzqONb0VneA== X-Google-Smtp-Source: AGHT+IEzHM5PYNnKvvdjj+ptHWcmNm1uFC9Vm0CErcTca33uXTtaGsCH5OwQuw8HOCCq6/l0mzF+ X-Received: by 2002:a05:6214:2609:b0:696:7ff4:7f0d with SMTP id gu9-20020a056214260900b006967ff47f0dmr5054362qvb.47.1711326307200; Sun, 24 Mar 2024 17:25:07 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711326307; cv=pass; d=google.com; s=arc-20160816; b=PCYqVWrJSE07ZJeY6U9MHEKHYWaGc7DMUSGKUM1z7s4rZMVmEnwbG2BdZEJAVLTCKa vBVNs/9dpilggHBo+yWxcNEmaWoZ9tHR2Trast5ofaMVEG5GaBw2EkuWfW4NWh71vai2 2CBICYkebajMZ/iGwv7KrdgzkAV/xicxQByPp84P0f25/smvgpx9V4+CKTR+jBdcMoI/ b8ql+/6H8Sk7KebETYnorDpQT0QK7Caf6tzdb6gvZk3ZddjlJpWGhujAHyUhVbSK5XmP ZSmdbYPkNafVLUGxHRvLY87CfZ/W7DoFv64OXCQZXQmSHEggaQxwzjmXb3Y5BI1FxQlo 2KzQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=E6P7LqMi+WkMKlEw4eruKiUY4DfRCxYAa0Di2YnsVWI=; fh=Oph50vMEb1SdykL82NRRL2NlhbrE5Rv0wNdoR7E5Mlo=; b=lkR72y8T4ImLE+KLvEgWiqEz/h1CsSVYMPl661OU457sldsHQt3llpvdQr/Wcjj5MA w/BdNeGw44kcpYxSzkg4KReq1JZlnqs6r5N4vl55o+1gbgu5Qj0jDi59q536t8OS3h/z nXiJFx3M+e9n3Z2jrB4LDRaVHUsV4iHk7KWPdmy5Fx+Dzh3/pX+Q9Ld1gqHAZq9DXdrX vHhNTs/nd3H4umVI9Jv/7ov6JDgq3dD8v1gYrfu5ovmsobO747oTo6wlNfgT1egz/8mh 05YKz0ZdF5kgxVBn4/fp6eO0+AphS4/YK6IcieweB4n2WrImiTNl+vKfaMYJpLM9WfuP 3hNg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=rpCZwtZl; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-113390-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-113390-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id ey5-20020a0562140b6500b00690dc9dcc3esi6817575qvb.353.2024.03.24.17.25.07 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 24 Mar 2024 17:25:07 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-113390-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=rpCZwtZl; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-113390-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-113390-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id E68B41C23912 for ; Mon, 25 Mar 2024 00:25:06 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 392011A2158; Sun, 24 Mar 2024 22:43:13 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="rpCZwtZl" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 33D201A2132; Sun, 24 Mar 2024 22:43:11 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711320192; cv=none; b=QZQVpvAD8mEPNR2nEpHKxX5HNk3hC57uQxQw0sdGvby21a0uK91AhmBy2NmBxAJM546ZqIu+1qG6UiN9wP0k8Ao+E8l8NDnhukTVJ6kzT9sMgIDMUQTiEtZP5IDEsIfJHYPwcTLVljCb2KSrX7EZMVwvqzTB/n4YsX9ZY6E/1hI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711320192; c=relaxed/simple; bh=/OkvdvR70NnVfY2Fr/0spMghmmbQzum0lIGGLUM9FCI=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=V2WGMJ5MrxqzNnuN6UbEoDMXKNYxZUGPKr8zqU1/DxETUch64o2kWqsdHFCKJlgDvMf4xlI0/futFDB+SO4BlCM8OiwrLMMzTKJIE7oCgK66bP+FlphiIPjSzW/wnLc6juaAxDONqRMR/zNoZjAJL6+S4PFOecb1nknQLFtZbk0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=rpCZwtZl; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 181C1C433F1; Sun, 24 Mar 2024 22:43:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1711320191; bh=/OkvdvR70NnVfY2Fr/0spMghmmbQzum0lIGGLUM9FCI=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=rpCZwtZlNP70hZw/GE0i7y74tqWRqFJg/GlrmvPDHsIFHE6B+l2jwwLMomUycqdfP 7oDJDoPmv0PQ7LkUfTcARN7DAq+hsIBZVHe7DNKAqbRfAfArZ++jCmiywfBSlsYgwu bP+ACe/rk50sWDXXI4s5vucpb5ughw7WrdylKipzFGvFeEVW2U2E5cJIaM9Ee/bhyP Q8zuJ8Tx0iJcsSuPHRMcEJotNBmBQqS76m+9aUQxaodGqjGQzN35S7WNj8ZlpII+a1 TBsBRFOCLHqad+SwU3lHoCR2xz7Wuy/nCX81WUhjJpIhAlAsEutM0MYPjqMi5O1/yU rW19MaqySf4pQ== From: Sasha Levin To: linux-kernel@vger.kernel.org, stable@vger.kernel.org Cc: Maciej Strozek , Lee Jones , Sasha Levin Subject: [PATCH 6.8 499/715] mfd: cs42l43: Fix wrong register defaults Date: Sun, 24 Mar 2024 18:31:18 -0400 Message-ID: <20240324223455.1342824-500-sashal@kernel.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240324223455.1342824-1-sashal@kernel.org> References: <20240324223455.1342824-1-sashal@kernel.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-stable: review X-Patchwork-Hint: Ignore Content-Transfer-Encoding: 8bit From: Maciej Strozek [ Upstream commit c9e1e505cde1a8ddd0968b4d54ec2ea1937dfe00 ] A few regs have unnecessary values in defaults, change them to match the datasheet Fixes: ace6d1448138 ("mfd: cs42l43: Add support for cs42l43 core driver") Signed-off-by: Maciej Strozek Link: https://lore.kernel.org/r/20240229155616.118457-1-mstrozek@opensource.cirrus.com Signed-off-by: Lee Jones Signed-off-by: Sasha Levin --- drivers/mfd/cs42l43.c | 68 +++++++++++++++++++++---------------------- 1 file changed, 34 insertions(+), 34 deletions(-) diff --git a/drivers/mfd/cs42l43.c b/drivers/mfd/cs42l43.c index 7b6d07cbe6fc6..73c88ee6a866c 100644 --- a/drivers/mfd/cs42l43.c +++ b/drivers/mfd/cs42l43.c @@ -131,38 +131,38 @@ const struct reg_default cs42l43_reg_default[CS42L43_N_DEFAULTS] = { { CS42L43_ASP_TX_CH4_CTRL, 0x00170091 }, { CS42L43_ASP_TX_CH5_CTRL, 0x001700C1 }, { CS42L43_ASP_TX_CH6_CTRL, 0x001700F1 }, - { CS42L43_ASPTX1_INPUT, 0x00800000 }, - { CS42L43_ASPTX2_INPUT, 0x00800000 }, - { CS42L43_ASPTX3_INPUT, 0x00800000 }, - { CS42L43_ASPTX4_INPUT, 0x00800000 }, - { CS42L43_ASPTX5_INPUT, 0x00800000 }, - { CS42L43_ASPTX6_INPUT, 0x00800000 }, - { CS42L43_SWIRE_DP1_CH1_INPUT, 0x00800000 }, - { CS42L43_SWIRE_DP1_CH2_INPUT, 0x00800000 }, - { CS42L43_SWIRE_DP1_CH3_INPUT, 0x00800000 }, - { CS42L43_SWIRE_DP1_CH4_INPUT, 0x00800000 }, - { CS42L43_SWIRE_DP2_CH1_INPUT, 0x00800000 }, - { CS42L43_SWIRE_DP2_CH2_INPUT, 0x00800000 }, - { CS42L43_SWIRE_DP3_CH1_INPUT, 0x00800000 }, - { CS42L43_SWIRE_DP3_CH2_INPUT, 0x00800000 }, - { CS42L43_SWIRE_DP4_CH1_INPUT, 0x00800000 }, - { CS42L43_SWIRE_DP4_CH2_INPUT, 0x00800000 }, - { CS42L43_ASRC_INT1_INPUT1, 0x00800000 }, - { CS42L43_ASRC_INT2_INPUT1, 0x00800000 }, - { CS42L43_ASRC_INT3_INPUT1, 0x00800000 }, - { CS42L43_ASRC_INT4_INPUT1, 0x00800000 }, - { CS42L43_ASRC_DEC1_INPUT1, 0x00800000 }, - { CS42L43_ASRC_DEC2_INPUT1, 0x00800000 }, - { CS42L43_ASRC_DEC3_INPUT1, 0x00800000 }, - { CS42L43_ASRC_DEC4_INPUT1, 0x00800000 }, - { CS42L43_ISRC1INT1_INPUT1, 0x00800000 }, - { CS42L43_ISRC1INT2_INPUT1, 0x00800000 }, - { CS42L43_ISRC1DEC1_INPUT1, 0x00800000 }, - { CS42L43_ISRC1DEC2_INPUT1, 0x00800000 }, - { CS42L43_ISRC2INT1_INPUT1, 0x00800000 }, - { CS42L43_ISRC2INT2_INPUT1, 0x00800000 }, - { CS42L43_ISRC2DEC1_INPUT1, 0x00800000 }, - { CS42L43_ISRC2DEC2_INPUT1, 0x00800000 }, + { CS42L43_ASPTX1_INPUT, 0x00000000 }, + { CS42L43_ASPTX2_INPUT, 0x00000000 }, + { CS42L43_ASPTX3_INPUT, 0x00000000 }, + { CS42L43_ASPTX4_INPUT, 0x00000000 }, + { CS42L43_ASPTX5_INPUT, 0x00000000 }, + { CS42L43_ASPTX6_INPUT, 0x00000000 }, + { CS42L43_SWIRE_DP1_CH1_INPUT, 0x00000000 }, + { CS42L43_SWIRE_DP1_CH2_INPUT, 0x00000000 }, + { CS42L43_SWIRE_DP1_CH3_INPUT, 0x00000000 }, + { CS42L43_SWIRE_DP1_CH4_INPUT, 0x00000000 }, + { CS42L43_SWIRE_DP2_CH1_INPUT, 0x00000000 }, + { CS42L43_SWIRE_DP2_CH2_INPUT, 0x00000000 }, + { CS42L43_SWIRE_DP3_CH1_INPUT, 0x00000000 }, + { CS42L43_SWIRE_DP3_CH2_INPUT, 0x00000000 }, + { CS42L43_SWIRE_DP4_CH1_INPUT, 0x00000000 }, + { CS42L43_SWIRE_DP4_CH2_INPUT, 0x00000000 }, + { CS42L43_ASRC_INT1_INPUT1, 0x00000000 }, + { CS42L43_ASRC_INT2_INPUT1, 0x00000000 }, + { CS42L43_ASRC_INT3_INPUT1, 0x00000000 }, + { CS42L43_ASRC_INT4_INPUT1, 0x00000000 }, + { CS42L43_ASRC_DEC1_INPUT1, 0x00000000 }, + { CS42L43_ASRC_DEC2_INPUT1, 0x00000000 }, + { CS42L43_ASRC_DEC3_INPUT1, 0x00000000 }, + { CS42L43_ASRC_DEC4_INPUT1, 0x00000000 }, + { CS42L43_ISRC1INT1_INPUT1, 0x00000000 }, + { CS42L43_ISRC1INT2_INPUT1, 0x00000000 }, + { CS42L43_ISRC1DEC1_INPUT1, 0x00000000 }, + { CS42L43_ISRC1DEC2_INPUT1, 0x00000000 }, + { CS42L43_ISRC2INT1_INPUT1, 0x00000000 }, + { CS42L43_ISRC2INT2_INPUT1, 0x00000000 }, + { CS42L43_ISRC2DEC1_INPUT1, 0x00000000 }, + { CS42L43_ISRC2DEC2_INPUT1, 0x00000000 }, { CS42L43_EQ1MIX_INPUT1, 0x00800000 }, { CS42L43_EQ1MIX_INPUT2, 0x00800000 }, { CS42L43_EQ1MIX_INPUT3, 0x00800000 }, @@ -171,8 +171,8 @@ const struct reg_default cs42l43_reg_default[CS42L43_N_DEFAULTS] = { { CS42L43_EQ2MIX_INPUT2, 0x00800000 }, { CS42L43_EQ2MIX_INPUT3, 0x00800000 }, { CS42L43_EQ2MIX_INPUT4, 0x00800000 }, - { CS42L43_SPDIF1_INPUT1, 0x00800000 }, - { CS42L43_SPDIF2_INPUT1, 0x00800000 }, + { CS42L43_SPDIF1_INPUT1, 0x00000000 }, + { CS42L43_SPDIF2_INPUT1, 0x00000000 }, { CS42L43_AMP1MIX_INPUT1, 0x00800000 }, { CS42L43_AMP1MIX_INPUT2, 0x00800000 }, { CS42L43_AMP1MIX_INPUT3, 0x00800000 }, -- 2.43.0