From: Mark Brown <broonie@kernel.org>
To: "Liam Girdwood" <lgirdwood@gmail.com>,
"Lars-Peter Clausen" <lars@metafoo.de>,
"Nuno Sá" <nuno.sa@analog.com>
Cc: patches@opensource.cirrus.com, alsa-devel@alsa-project.org,
linux-kernel@vger.kernel.org, Mark Brown <broonie@kernel.org>
Subject: [PATCH 07/10] ASoC: adau1781: Update to use maple tree register cache
Date: Thu, 13 Jul 2023 00:13:56 +0100 [thread overview]
Message-ID: <20230713-asoc-ad-maple-v1-7-7d2f35d42b5f@kernel.org> (raw)
In-Reply-To: <20230713-asoc-ad-maple-v1-0-7d2f35d42b5f@kernel.org>
The maple tree register cache is based on a much more modern data structure
than the rbtree cache and makes optimisation choices which are probably
more appropriate for modern systems than those made by the rbtree cache. In
v6.5 it has also acquired the ability to generate multi-register writes in
sync operations, bringing performance up to parity with the rbtree cache
there.
Update the adau1781 driver to use the more modern data structure.
Signed-off-by: Mark Brown <broonie@kernel.org>
---
sound/soc/codecs/adau1781.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sound/soc/codecs/adau1781.c b/sound/soc/codecs/adau1781.c
index ff6be24863bf..faad2f9f8dd2 100644
--- a/sound/soc/codecs/adau1781.c
+++ b/sound/soc/codecs/adau1781.c
@@ -472,7 +472,7 @@ const struct regmap_config adau1781_regmap_config = {
.readable_reg = adau1781_readable_register,
.volatile_reg = adau17x1_volatile_register,
.precious_reg = adau17x1_precious_register,
- .cache_type = REGCACHE_RBTREE,
+ .cache_type = REGCACHE_MAPLE,
};
EXPORT_SYMBOL_GPL(adau1781_regmap_config);
--
2.39.2
next prev parent reply other threads:[~2023-07-12 23:15 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-07-12 23:13 [PATCH 00/10] ASoC: ad: Update Analog Devices drivers to " Mark Brown
2023-07-12 23:13 ` [PATCH 01/10] ASoC: ad1836: Update to use " Mark Brown
2023-07-12 23:13 ` [PATCH 02/10] ASoC: ad1980: " Mark Brown
2023-07-12 23:13 ` [PATCH 03/10] ASoC: adau1372: " Mark Brown
2023-07-12 23:13 ` [PATCH 04/10] ASoC: adau1373: " Mark Brown
2023-07-12 23:13 ` [PATCH 05/10] ASoC: adau1701: " Mark Brown
2023-07-12 23:13 ` [PATCH 06/10] ASoC: adau1761: " Mark Brown
2023-07-12 23:13 ` Mark Brown [this message]
2023-07-12 23:13 ` [PATCH 08/10] ASoC: adau1977: " Mark Brown
2023-07-12 23:13 ` [PATCH 09/10] ASoC: adau7118: " Mark Brown
2023-07-12 23:13 ` [PATCH 10/10] ASoC: adav80x: " Mark Brown
2023-07-13 7:02 ` [PATCH 00/10] ASoC: ad: Update Analog Devices drivers to " Nuno Sá
2023-07-13 20:24 ` Mark Brown
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20230713-asoc-ad-maple-v1-7-7d2f35d42b5f@kernel.org \
--to=broonie@kernel.org \
--cc=alsa-devel@alsa-project.org \
--cc=lars@metafoo.de \
--cc=lgirdwood@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=nuno.sa@analog.com \
--cc=patches@opensource.cirrus.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®