From nobody Mon Feb 9 23:15:05 2026 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 939331BD9EC; Mon, 11 Nov 2024 18:48:20 +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=1731350900; cv=none; b=d5NkkyJdq3fvgaego2ij+JVXXUSBnEX+DHpjGVCfCHIB63AgJ30xLh5WklnSuKHSupR9i/m30933TSkE3vAkFCN9c1nuYR/c1uY/f5ervwhkIBhnD6u2GRtSwURUU2NBn5uteokYRJRb/CLudZadU13XCPL4JlS3wJzkIATeTDI= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1731350900; c=relaxed/simple; bh=2Yw2lyGhOM67zJI4OO0X7e4T+eCJzeW7+KHB/QyTw5o=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=GdxELsNsi1t+YFowyGHRopT2cx66LLKzj5bKypPlswYYiKgPdiWRopTjBjglj4O/pJGPxhqmbHB0E7CPShzehHWkdyVVnn8U040NW+VEnnEq4+Pwc2R02Ou7j85Zb5UOAyNAHXCZv24PYIMA0wCwurV9HWixVPGRunk/Az76b1A= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=Y0EqHnA/; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="Y0EqHnA/" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6457AC4CED4; Mon, 11 Nov 2024 18:48:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1731350900; bh=2Yw2lyGhOM67zJI4OO0X7e4T+eCJzeW7+KHB/QyTw5o=; h=From:Date:Subject:References:In-Reply-To:To:Cc:From; b=Y0EqHnA/Cse72QjgsgkE7bxdrz4XkTdlfu1iraq32nCOwT/k1XjV22qneUCsfth5B fe+kCi+Gy7GxRsLBYQ0mztiwnRGaYfq4u8E04xyH0oY3pqFvoLZTMYgesK9AFiYFCW TrHrt52j7hZyfgOegGZ/mKWcHhjOWt76rINdIXON8LgEeWuNOY5aYZ2aRAMoAdwuNj dE2Z75iliHm2RDKzNnrnFSyFljPAioixp+Ol60GFbs3m7kybJ75/IL5/1Aopt0yXtG 35R43qvqcnaTOwpiKQwIMpVc7rukevmPlSymGzlig+FavJxw0PUmRQu2a7Z1piLMuk uTucB9rrGxQhQ== From: Mark Brown Date: Mon, 11 Nov 2024 18:47:42 +0000 Subject: [PATCH 10/17] ASoC: max98504: Use maple tree register cache Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20241111-asoc-maxim-maple-v1-10-baa315dc546b@kernel.org> References: <20241111-asoc-maxim-maple-v1-0-baa315dc546b@kernel.org> In-Reply-To: <20241111-asoc-maxim-maple-v1-0-baa315dc546b@kernel.org> To: Liam Girdwood , Peter Rosin Cc: linux-sound@vger.kernel.org, linux-kernel@vger.kernel.org, Mark Brown X-Mailer: b4 0.15-dev-355e8 X-Developer-Signature: v=1; a=openpgp-sha256; l=1047; i=broonie@kernel.org; h=from:subject:message-id; bh=2Yw2lyGhOM67zJI4OO0X7e4T+eCJzeW7+KHB/QyTw5o=; b=owEBbQGS/pANAwAKASTWi3JdVIfQAcsmYgBnMlFfZQv8n0PwZxZxDFnoaGbqbu1sN71fgjDF0 x1sgnYydNSJATMEAAEKAB0WIQSt5miqZ1cYtZ/in+ok1otyXVSH0AUCZzJRXwAKCRAk1otyXVSH 0G5aB/9hSeUX2b9G33sQzX11HqmcBTeUGhoSoCGGZm+DRmG20jGSA9SWXvpbmwgOfM2gblYhNIY rVx/W+fY+5ztO5N9+DmalkD1d8sKQsUj2Al6X0J2q4pPIP6GJZNZlBDo/SRKvHTH4YgbjtHJjMT crLn2CNZdCu+ibxmWboOJvoSWJWgSpKjpfTD4r5MET/1Vg1qyZjOzmwewXKblTLzis8v5p42hqu +Rhk/hNfJsE682/aKMbprYTNExiYDdgo+z2nqz/1XFOYxoD6nsGWz5v2VnJQ5C2QzCFC21KMRCq 8dmRXqwVpuT6FEF0GI/Iazwf/zLH1qmZwLr6oRQhXzFw8bnH X-Developer-Key: i=broonie@kernel.org; a=openpgp; fpr=3F2568AAC26998F9E813A1C5C3F436CA30F5D8EB The maple tree register cache uses a more modern data structure than the rbtree cache and makes optimisation choices that are more appropriate for current hardware, unless there is a specific reason to do something else then maple is a better choice for most devices. Switch to it. Signed-off-by: Mark Brown --- sound/soc/codecs/max98504.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sound/soc/codecs/max98504.c b/sound/soc/codecs/max98504.c index 6b6a7ece4cecc3d114da276faf859c8176955300..677d0894e058c5e84f3fc591fb8= bdc02eb8d5633 100644 --- a/sound/soc/codecs/max98504.c +++ b/sound/soc/codecs/max98504.c @@ -304,7 +304,7 @@ static const struct regmap_config max98504_regmap =3D { .num_reg_defaults =3D ARRAY_SIZE(max98504_reg_defaults), .volatile_reg =3D max98504_volatile_register, .readable_reg =3D max98504_readable_register, - .cache_type =3D REGCACHE_RBTREE, + .cache_type =3D REGCACHE_MAPLE, }; =20 static int max98504_i2c_probe(struct i2c_client *client) --=20 2.39.5