Received: by 2002:ab2:6857:0:b0:1ef:ffd0:ce49 with SMTP id l23csp2398978lqp; Sun, 24 Mar 2024 17:49:30 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVp0HyhZPLkgc0YSAlFvNRkQK0tonxSkMmX06IXnhpkF+siC2hrkcvk18H//RrXS+bTFGIYNXwwlkqvTybRXoHRb+k+2A1cRRNtRe8jDQ== X-Google-Smtp-Source: AGHT+IG5OSYQs8lAYmvzh7/8ZAT8HIuqU66UEd69ssSfxQdHrHENFf5Gqid9vcXNo0DDif47+7RE X-Received: by 2002:a17:90a:bd81:b0:29a:9fad:4ad9 with SMTP id z1-20020a17090abd8100b0029a9fad4ad9mr4444811pjr.3.1711327770132; Sun, 24 Mar 2024 17:49:30 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711327770; cv=pass; d=google.com; s=arc-20160816; b=vrjkdAmftj1Cdfolaygqp5iw2OeIZ9M13oeZHBDu8af+72OVOYaI091ypvV/5lDyxO M0swctEtWUcfnjfuotNCaoHAWty2EF4tEVQuTMLqGkHdoq0ajdsLneMC6DDHFr7PrPAX uGa+tAnczFkBstOYpc0VPEThQLyGvNaZ25sAwIn4jetJp45eNR3jkWdAW1dH7IuRYaQC RhQEwqp6Shp5351oF9LD8LwSRh8cIrvCCLSHrrz6p2fzOPZS11lwDXWLj6qW2SBW4WOH z72y6byp9PL8It/eMPnOFBvQPM2rLPFRkbTOZhRGm/8ftZsnB+kVWtMbapMRpScvjCkE lLpQ== 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=5SIZkx3Q+O/gQ28K76v4z5Gqt+dv8WdoYd3tgQejO/U=; fh=W3EKBEJaYEKPkgIhHjOKVj2KjtCMB/PSWLa8eD6t26c=; b=gqCKOldjkquq2asGEN4Z6Stlz8frL5D0gHB3zPtF1FYE/8eJ5SINkZhz52qTwSnmUV kcGIKdiXFS4By2FFVw2gMiSwoTqix7IVZw+hOvsAEVvMRNmiyBqRxcZuR6HR3se4eh5W tx7Be069y/hsihKnwtIq1v/whbEpNHeU2N1pApFXzC4bmecSsZVbY1dAcXd6EnipKOaN fVlABj5812O5dbhndiOLv7HaXe4Z13dDm2+UZ8GLSUZndnI4/C0gC2MRGGZ1L+9zWCdN WZLnAN48/F+370EhHTWbnEsA0b8lHHPfoRoqsLoSER2S8BJjhdhJcdThNsIQPUgVL12m jgRA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=J9Mz+fMa; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-113406-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-113406-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id lp10-20020a17090b4a8a00b002a06a3555efsi1354052pjb.79.2024.03.24.17.49.29 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 24 Mar 2024 17:49:30 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-113406-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=J9Mz+fMa; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-113406-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-113406-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id AA3B0286F4C for ; Mon, 25 Mar 2024 00:28:49 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 698671A5947; Sun, 24 Mar 2024 22:43:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="J9Mz+fMa" 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 7CFED1A592A; Sun, 24 Mar 2024 22:43:28 +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=1711320208; cv=none; b=BgSHmZVvZHCV+JnnAhlhwKZUU/c4PhnXquuLsOQ13vXl/a/AoKnWbuw+lneT3xA/bqb+ZcJfEEpA81J770ysemFakA8wh+ZSYw/5OLk/+VcGrPIWd7SEGvmhb7pzYUFQ1dkXU7lDhxqTMhPIABcNG4mFT0sQys68g+kzEPQoNZg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711320208; c=relaxed/simple; bh=FfAkLR82zNo8vXgN3x469UcnQzAZ56OYmk6OGgnHwmA=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=YGnOiN3n7Bx6QdlODnPVMLS9CceY7oXyda/D6cFyfRdwWATg8SYoN+Op0dL5kiRWarW00SqiJii4TC9DTnFYaeJPNFfCm+f58c/L+NlaMc/EmvtcHJL96c08izZrZxviP/2KY6LafoGVRWGoRoO6muc4vYoapr1XbbXJlyivLy8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=J9Mz+fMa; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id A1BF9C433C7; Sun, 24 Mar 2024 22:43:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1711320208; bh=FfAkLR82zNo8vXgN3x469UcnQzAZ56OYmk6OGgnHwmA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=J9Mz+fMaIu7MEipCEaRI5fM+35IYjjNJQ0JXMcqCgPBbq88+Op/leIalI5lW4qY9J hWirp1V2FPBPIw164qcS/+ViSRt8d7+p1iSD5Y/7BeuxZ28wpnOVe5uCvNnVMR5r+2 Cu6bj8qq4R+QBklCvz0dMg+FfpoMXUFZ48HcWjKwlR/8YOfNF4424UgORmoYp7Dp/3 UftzEmsODRaenbQ14kKGFEsNZrIxb9WMbhXYYkqn43aM8dbCA3UKGOVJzfXfizz4ns 5k+ulPuQDRxB+ewdXoS3ebdrNdQSM93eewrI5l9jr1cw/NiLoUpUKt8fVj9cx0Vgx/ tKj4mh1GxDJlw== From: Sasha Levin To: linux-kernel@vger.kernel.org, stable@vger.kernel.org Cc: Maciej Strozek , Charles Keepax , Lee Jones , Sasha Levin Subject: [PATCH 6.8 515/715] mfd: cs42l43: Fix wrong GPIO_FN_SEL and SPI_CLK_CONFIG1 defaults Date: Sun, 24 Mar 2024 18:31:34 -0400 Message-ID: <20240324223455.1342824-516-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 78334c343bef528b911da83a6b041d15a1a72efb ] Two regs have wrong values in existing fields, change them to match the datasheet. Fixes: ace6d1448138 ("mfd: cs42l43: Add support for cs42l43 core driver") Signed-off-by: Maciej Strozek Reviewed-by: Charles Keepax Link: https://lore.kernel.org/r/20240301101547.2136948-1-mstrozek@opensource.cirrus.com Signed-off-by: Lee Jones Signed-off-by: Sasha Levin --- drivers/mfd/cs42l43.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/mfd/cs42l43.c b/drivers/mfd/cs42l43.c index 73c88ee6a866c..1cea3f8f467d4 100644 --- a/drivers/mfd/cs42l43.c +++ b/drivers/mfd/cs42l43.c @@ -84,7 +84,7 @@ const struct reg_default cs42l43_reg_default[CS42L43_N_DEFAULTS] = { { CS42L43_DRV_CTRL_5, 0x136C00C0 }, { CS42L43_GPIO_CTRL1, 0x00000707 }, { CS42L43_GPIO_CTRL2, 0x00000000 }, - { CS42L43_GPIO_FN_SEL, 0x00000000 }, + { CS42L43_GPIO_FN_SEL, 0x00000004 }, { CS42L43_MCLK_SRC_SEL, 0x00000000 }, { CS42L43_SAMPLE_RATE1, 0x00000003 }, { CS42L43_SAMPLE_RATE2, 0x00000003 }, @@ -217,7 +217,7 @@ const struct reg_default cs42l43_reg_default[CS42L43_N_DEFAULTS] = { { CS42L43_CTRL_REG, 0x00000006 }, { CS42L43_FDIV_FRAC, 0x40000000 }, { CS42L43_CAL_RATIO, 0x00000080 }, - { CS42L43_SPI_CLK_CONFIG1, 0x00000000 }, + { CS42L43_SPI_CLK_CONFIG1, 0x00000001 }, { CS42L43_SPI_CONFIG1, 0x00000000 }, { CS42L43_SPI_CONFIG2, 0x00000000 }, { CS42L43_SPI_CONFIG3, 0x00000001 }, -- 2.43.0